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
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 julio/Documento s/openerp/ instancias/ 7.0/server- 7.0/openerp/ addons/ base/res/ res_partner. py", line 408, in name_get address( cr, uid, record, without_ company= True, context=context) julio/Documento s/openerp/ instancias/ 7.0/server- 7.0/openerp/ addons/ base/res/ res_partner. py", line 576, in _display_address
send the follow error:
File "/home/
name = name + "\n" + self._display_
File "/home/
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
NOTE: link about the issue merge purposa /code.launchpad .net/~vauxoo/ openobject- server/ customization_ address_ field-dev- julio/+ merge/147756
https:/