openerp-india team mailing list archive
-
openerp-india team
-
Mailing list archive
-
Message #05304
[Bug 918642] Re: Project and analytic account partner address label
Hi Jignesh,
thank you for your reaction. The situation is even more ambiguous than I
thought. Have a look at analytic/analytic.py. You will see two on change
methods defined on class account_analytic_account:
onchange_partner_id: selects the invoice address
on_change_partner_id: selects the contact address
It is the latter one that is actually used, in
account/project/project_view.
By the looks of it, the 'contact_id' address field itself is hardly used
anywhere either in project or analytic, although there is a reference to
it in the context of the sale order's project id. Here, it is assigned
the value of the ordering *contact* of the partner (see
sale/sale_view.xml).
I remain that the label should change to 'Contact address' and am
curious to hear the Addons1 team's opinion.
Cheers,
Stefan.
--
You received this bug notification because you are a member of OpenERP
Indian Team, which is subscribed to OpenERP Addons.
https://bugs.launchpad.net/bugs/918642
Title:
Project and analytic account partner address label
Status in OpenERP Addons (modules):
Confirmed
Bug description:
Hi,
There is a field on project.project, with name 'contact_id'. The label
on the project form (tab Billing) for this partner address is 'Invoice
address'. Due to _inherit, this field also exists on the analytic
account. Here it is called 'Contact'. The on_change method on the
partner_id automatically selects the partner's address of type
'contact' if it exists.
The address selected here does not seem to affect the addresses on the
generated invoices, as they select the invoice and contact addresses
independent of this setting.
We find it confusing that the address on the project is called
'Invoice address' but the invoice address is not selected. Please
change the label to reflect the type of address.
Cheers,
Stefan.
To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-addons/+bug/918642/+subscriptions
References