diff options
| author | Paul Morelle <pmo@odoo.com> | 2020-09-16 09:49:37 +0000 |
|---|---|---|
| committer | Paul Morelle <pmo@odoo.com> | 2020-09-18 16:52:11 +0000 |
| commit | 17c39f2eb543851305ca2c4cce5c046dd34c29f5 (patch) | |
| tree | 1c2376fd6070b85ef163976dd2c3305a4d8d0a44 /doc/reference/guidelines.rst | |
| parent | 492a37bf49baac862d44bb0b541c04a51e218f1d (diff) | |
[FIX] account: fix install of account installs account_accountant
Bug description:
Installing Invoicing on a database whose company is configured in the
SEPA zone, results in installing Accounting
Steps to reproduce on the Runbot:
- Start from a base enterprise database
- Go to Settings > Users & Companies > Companies and configure the
address of MyCompany to the SEPA zone (e.g. Belgium)
- Go to Apps and install Invoicing
- The Accounting application has been installed
Explanation:
The module account_sepa depends on account_batch_payment, which depends
on account_accountant.
The post_init_hook of account, _auto_install_l10n, adds the account_sepa
module to the installation if the country_code of the company is in the
SEPA zone.
The same side-effect is observed with account_bank_statement_import_camt
which depends on account_bank_statement_import, which depends on
account_accountant.
The fix is to remove the installation of these modules from the
post_init_hook of the module account, and add them to a new
post_init_hook of the module account_accountant, that will be in a PR in
the enterprise project.
closes odoo/odoo#58067
X-original-commit: db4ce56641c75403be935efa072687bff65c7bb2
Related: odoo/enterprise#13361
Signed-off-by: Quentin De Paoli (qdp) <qdp@openerp.com>
Signed-off-by: Paul Morelle <madprog@users.noreply.github.com>
Diffstat (limited to 'doc/reference/guidelines.rst')
0 files changed, 0 insertions, 0 deletions
