From ddeb7b7cb0e6ffbdfc5ac38541519eb8e37d6bf3 Mon Sep 17 00:00:00 2001 From: Nicolas Martinelli Date: Tue, 20 Aug 2019 07:34:37 +0000 Subject: [PATCH] [FIX] account: UK country code The country code for United Kingdom is GB. closes odoo/odoo#35828 Signed-off-by: Nicolas Martinelli (nim) --- addons/account/__init__.py | 4 ++-- 1 file 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':