summaryrefslogtreecommitdiff
path: root/addons/account/__init__.py
diff options
context:
space:
mode:
authorChristophe Monniez <moc@odoo.com>2018-02-01 16:40:33 +0100
committerqdp-odoo <qdp@odoo.com>2018-02-01 16:48:33 +0100
commit32db86e3a0029e5be2258545dc3562dc9e3f54a2 (patch)
tree740ee3662a9d43633bc7c5b05202ed74938dc179 /addons/account/__init__.py
parentaca61e35842c8332a998d91a62ddf77fb546c8f3 (diff)
[REF] account_check_printing: refatoring to better inheritancy
* localized checks layout of US and CA introduced in enterprise * account settings now install account_check_printing instead of the US checks layout Wsa PR #18791. Was task 33298
Diffstat (limited to 'addons/account/__init__.py')
-rw-r--r--addons/account/__init__.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/addons/account/__init__.py b/addons/account/__init__.py
index 5799a1fdb2c..dc3a8f3e476 100644
--- a/addons/account/__init__.py
+++ b/addons/account/__init__.py
@@ -35,7 +35,9 @@ def _auto_install_l10n(cr, registry):
module_list.append('l10n_generic_coa')
if country_code == 'US':
module_list.append('account_plaid')
- module_list.append('account_check_printing')
+ 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']:
module_list.append('account_yodlee')
if country_code in SYSCOHADA_LIST + [