From 2776f5b7e691da63f0a373ebdf8305fd60b73bb6 Mon Sep 17 00:00:00 2001 From: Fabien Pinckaers Date: Fri, 26 Oct 2012 08:51:43 +0200 Subject: [PATCH] [[FIX] country code not required bzr revid: fp@tinyerp.com-20121026065143-bnwzfum1zp8p3wrv --- openerp/addons/base/res/res_country.py | 2 +- openerp/addons/base/res/res_country_view.xml | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/openerp/addons/base/res/res_country.py b/openerp/addons/base/res/res_country.py index 35fb2a29ea7..98a3b769a11 100644 --- a/openerp/addons/base/res/res_country.py +++ b/openerp/addons/base/res/res_country.py @@ -47,7 +47,7 @@ class Country(osv.osv): help='The full name of the country.', required=True, translate=True), 'code': fields.char('Country Code', size=2, help='The ISO country code in two chars.\n' - 'You can use this field for quick search.', required=True), + 'You can use this field for quick search.'), 'address_format': fields.text('Address Format', help="""You can state here the usual format to use for the \ addresses belonging to this country.\n\nYou can use the python-style string patern with all the field of the address \ (for example, use '%(street)s' to display the field 'street') plus diff --git a/openerp/addons/base/res/res_country_view.xml b/openerp/addons/base/res/res_country_view.xml index 47b665426f9..8f64d330440 100644 --- a/openerp/addons/base/res/res_country_view.xml +++ b/openerp/addons/base/res/res_country_view.xml @@ -31,8 +31,7 @@ -