From 1c30b8a95cc44a30a7b0e8aa8c39a8d94989397d Mon Sep 17 00:00:00 2001 From: wan Date: Tue, 13 Oct 2020 11:40:09 +0000 Subject: [PATCH] [FIX] account: do not auto install modules that depend on Accounting Moved in the post init hook of account_accountant closes odoo/odoo#60068 X-original-commit: f997bc8f6e9d5138de6faed80e9774d359bfbe8d Related: odoo/enterprise#14100 Signed-off-by: Quentin De Paoli (qdp) Signed-off-by: wan --- addons/account/__init__.py | 2 -- 1 file changed, 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()