[IMP]base/res: add the company_name in defualt address format

bzr revid: sbh@tinyerp.com-20120305065351-x9eth3j6icxykh8v
This commit is contained in:
Bhumika (OpenERP)
2012-03-05 12:23:51 +05:30
parent 84ad85a25d
commit ed26c94f4d
+1 -1
View File
@@ -46,7 +46,7 @@ addresses belonging to this country.\n\nYou can use the python-style string pate
'The code of the country must be unique !')
]
_defaults = {
'address_format': "%(street)s\n%(street2)s\n%(city)s,%(state_code)s %(zip)s\n%(country_name)s",
'address_format': "%(company_name)s\n%(street)s\n%(street2)s\n%(city)s,%(state_code)s %(zip)s\n%(country_name)s",
}
def name_search(self, cr, user, name='', args=None, operator='ilike',