openerp-india team mailing list archive
-
openerp-india team
-
Mailing list archive
-
Message #23382
[Bug 1122363] Re: customization format_address
** Branch linked: lp:~vauxoo/openobject-server
/customization_address_field-dev-julio
--
You received this bug notification because you are a member of OpenERP
Indian Team, which is subscribed to OpenERP Server.
https://bugs.launchpad.net/bugs/1122363
Title:
customization format_address
Status in OpenERP Server:
New
Bug description:
1.-Steps to reproduce the issue you have observed
to inherit new fields of address to res.partner
example: street3, street4, city2
to fill field format_address of res.country with fields of example
to create a new invoice
to choose customer
2.- The result you observed
send the follow error:
File "/home/julio/Documentos/openerp/instancias/7.0/server-7.0/openerp/addons/base/res/res_partner.py", line 408, in name_get
name = name + "\n" + self._display_address(cr, uid, record, without_company=True, context=context)
File "/home/julio/Documentos/openerp/instancias/7.0/server-7.0/openerp/addons/base/res/res_partner.py", line 576, in _display_address
return address_format % args
KeyError: u'street3'
This happens because there is not any function that allows me
customize the fields that shows or return the function
_display_address()
3.-The result you expected
it should have any function that allows customize the fields to show by the function _display_address() even when this fields have been inherited.
4.-
Ubuntu. 12.04, Python 2.7.2+
openerp- server : 4828
To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-server/+bug/1122363/+subscriptions
References