Company-Contact-Information in Sales-Order-Report

Bug #799234 reported by René Glauser
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Odoo Server (MOVED TO GITHUB)
Confirmed
Wishlist
OpenERP's Framework R&D

Bug Description

Hello
On my company I have saved the Company-Address as type "default"-Address. Then when I add on my company an address as type "contact"-Address, then on top of the sales-report there is allways printed the information of the fist contact of my company and not the "default"-Address-Information of the company.

Revision history for this message
Vishal Parmar(Open ERP) (vpa-openerp) wrote :

Hello René Glauser,

As per your bug specification, I have checked your issue, In sale order I have set address type as
invoice , default and contact for company, It is printing in report correctly.

If you talk about the header of the company It is coming from common header of the company
you can customized that address from company form.

Still I am not getting exactly your problem so would you please elaborate more and provide screenshot or video.

Thanks and waiting for your reply.

Changed in openobject-addons:
status: New → Incomplete
Revision history for this message
René Glauser (rene-glauser) wrote :

Hello Vishal Parmar

Thank you for your reply. I checked under "Header/Footer" in my company-form. In standard-installation Header-Adress is printed in reports with statements like e.g. "company.partner_id.address[0].street". The address printed on the report is chosen by the number written in brackets, that meens in standard: [0]

Now the address-number for my company is [19] because numbers 0-18 are the numbers for the employes saved on the company.

When I change the standard address-number from [0] to [19] the address is printed correctly. But when I then add a new "contact" on my company the address-number [19] becomes address-number [20].

How can I be sure to have always the correct address chosen for the header in reports?

In the tree-view of customers I have the same problem. There is always shown the address with address-number [0]. Is there a way to change this behaviour on report-headers and in tree-view of the customer that always the default-address is shown?

Thanks

affects: openobject-addons → openobject-server
Changed in openobject-server:
assignee: nobody → OpenERP's Framework R&D (openerp-dev-framework)
importance: Undecided → Wishlist
status: Incomplete → Confirmed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.