summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicolas Martinelli <nim@odoo.com>2019-08-20 07:34:37 +0000
committerNicolas Martinelli <nim@odoo.com>2019-08-20 07:34:37 +0000
commitddeb7b7cb0e6ffbdfc5ac38541519eb8e37d6bf3 (patch)
treea50278012b1b49ca08e739097bea8439032c9d4d
parent118190f3b3ecde11d7bcb46301af0e016d6ea19f (diff)
[FIX] account: UK country code
The country code for United Kingdom is GB. closes odoo/odoo#35828 Signed-off-by: Nicolas Martinelli (nim) <nim@odoo.com>
-rw-r--r--addons/account/__init__.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/addons/account/__init__.py b/addons/account/__init__.py
index 8a862f5d090..8f86bd5681f 100644
--- a/addons/account/__init__.py
+++ b/addons/account/__init__.py
@@ -38,11 +38,11 @@ def _auto_install_l10n(cr, registry):
module_list.append('l10n_us_check_printing')
if country_code == 'CA':
module_list.append('l10n_ca_check_printing')
- if country_code in ['US', 'AU', 'NZ', 'CA', 'CO', 'EC', 'ES', 'FR', 'IN', 'MX', 'UK']:
+ if country_code in ['US', 'AU', 'NZ', 'CA', 'CO', 'EC', 'ES', 'FR', 'IN', 'MX', 'GB']:
module_list.append('account_yodlee')
if country_code in SYSCOHADA_LIST + [
'AT', 'BE', 'CA', 'CO', 'DE', 'EC', 'ES', 'ET', 'FR', 'GR', 'IT', 'LU', 'MX', 'NL', 'NO',
- 'PL', 'PT', 'RO', 'SI', 'TR', 'UK', 'VE', 'VN'
+ 'PL', 'PT', 'RO', 'SI', 'TR', 'GB', 'VE', 'VN'
]:
module_list.append('base_vat')
if country_code == 'MX':