openerp-india team mailing list archive
-
openerp-india team
-
Mailing list archive
-
Message #04817
[Bug 768565] Re: Customer Tree-View shows confusing address-information
Until now I use the following workaround: I changed the sort-order in "res.partner.py" for res_partner_address from _order = 'type, name' to _order = 'id, type, name'
This means that in a tree-view, where address-information is shown of a partner, always the address with the lowest id will be shown first, when at the time of creation of the partner, the defaul-address is created before any contact of that partner.
The problem of the standard sort-order _order = 'type, name' is, that there will never be displayed the defaul-address of a partner in a tree-view if there is one contact saved for that partner....
--
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/768565
Title:
Customer Tree-View shows confusing address-information
Status in OpenERP Addons (modules):
Opinion
Bug description:
In the tree-view of the customer-menu there is always shown the
address-information of the customers first address in alphabet (A
before B) event if it is a "contact" and not the customers default-
address. Tree-View should always show the information for
"Default"-Address of customer.
To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-addons/+bug/768565/+subscriptions