From ed26c94f4da796bb4d0fdcd33b2079726c678ff3 Mon Sep 17 00:00:00 2001 From: "Bhumika (OpenERP)" Date: Mon, 5 Mar 2012 12:23:51 +0530 Subject: [PATCH] [IMP]base/res: add the company_name in defualt address format bzr revid: sbh@tinyerp.com-20120305065351-x9eth3j6icxykh8v --- openerp/addons/base/res/res_country.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/openerp/addons/base/res/res_country.py b/openerp/addons/base/res/res_country.py index f240784dc47..bcc30ea3136 100644 --- a/openerp/addons/base/res/res_country.py +++ b/openerp/addons/base/res/res_country.py @@ -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',