summaryrefslogtreecommitdiff
path: root/addons
diff options
context:
space:
mode:
authorwan <wan@odoo.com>2020-10-13 11:40:09 +0000
committerwan <wan@odoo.com>2020-10-14 11:38:34 +0000
commitf997bc8f6e9d5138de6faed80e9774d359bfbe8d (patch)
tree167db6342cceb8457343454bd4c308c547eb4ac5 /addons
parent3d592649970df3d755ccb57d68c074acdff67894 (diff)
[FIX] account: do not auto install modules that depend on Accounting
Moved in the post init hook of account_accountant closes odoo/odoo#59849 Related: odoo/enterprise#14021 Signed-off-by: Quentin De Paoli (qdp) <qdp@openerp.com>
Diffstat (limited to 'addons')
-rw-r--r--addons/account/__init__.py2
1 files changed, 0 insertions, 2 deletions
diff --git a/addons/account/__init__.py b/addons/account/__init__.py
index 27ffc26d215..9101cec83aa 100644
--- a/addons/account/__init__.py
+++ b/addons/account/__init__.py
@@ -59,8 +59,6 @@ def _auto_install_l10n(env):
module_list.append('base_vat')
if country_code == 'MX':
module_list.append('l10n_mx_edi')
- if country_code == 'AU':
- module_list.append('account_reports_cash_basis')
module_ids = env['ir.module.module'].search([('name', 'in', module_list), ('state', '=', 'uninstalled')])
module_ids.sudo().button_install()