[IMP]base/res_partner: fix the function

bzr revid: kjo@tinyerp.com-20120329132533-nmhg0flfz36v4hhl
This commit is contained in:
Kuldeep Joshi (OpenERP) 2012-03-29 18:55:33 +05:30
parent b1a29c5a6a
commit fe45a9a7de
1 changed files with 1 additions and 1 deletions

View File

@ -391,7 +391,7 @@ class res_partner(osv.osv):
('name','=','main_partner')])[0],
).res_id
def _display_address(self, cr, uid, address, type, context=None):
def _display_address(self, cr, uid, address, type='', context=None):
'''
The purpose of this function is to build and return an address formatted accordingly to the