From 5ad248a3e7cde06fe2a7ec6dd50840bfae579f8c Mon Sep 17 00:00:00 2001 From: sheetalPatil Date: Fri, 2 Feb 2018 11:21:32 +0530 Subject: [PATCH] [ADD]:Flectra alpha3 iso country code field added --- flectra/addons/base/res/res_country.py | 4 + flectra/addons/base/res/res_country_data.xml | 249 +++++++++++++++++++ flectra/addons/base/res/res_country_view.xml | 2 + 3 files changed, 255 insertions(+) diff --git a/flectra/addons/base/res/res_country.py b/flectra/addons/base/res/res_country.py index a83fe9dd..ff9e2431 100644 --- a/flectra/addons/base/res/res_country.py +++ b/flectra/addons/base/res/res_country.py @@ -37,6 +37,10 @@ class Country(models.Model): code = fields.Char( string='Country Code', size=2, help='The ISO country code in two chars. \nYou can use this field for quick search.') + iso_code3 = fields.Char( + string='ISO Country Code', size=3, + help='The ISO country code in three chars. \nYou can use this field ' + 'for quick search.') address_format = fields.Text(string="Layout in Reports", help="Display format to use for addresses belonging to this country.\n\n" "You can use python-style string pattern with all the fields of the address " diff --git a/flectra/addons/base/res/res_country_data.xml b/flectra/addons/base/res/res_country_data.xml index 6f63a4fc..82bc8657 100644 --- a/flectra/addons/base/res/res_country_data.xml +++ b/flectra/addons/base/res/res_country_data.xml @@ -5,6 +5,7 @@