e9a88296ff0a3053c8d3a54165e63e82571ce820
When installing the module account_financial_report, a relational table between account_move_line and account_analytic_account is created and computed. However, if an analytic account was used only on draft invoices before being deleted, its ID will remain in the JSON column analytic_distibution of account_move_line. In that case we get a ForeignKeyViolation because the ID doesn't exist in account_analytic_account table. Therefore, we need to check if the ID exists during the computation to avoid inserting it in the relational table and raising the error.
account-financial-reporting
account-financial-reporting
This part will be replaced when running the oca-gen-addons-table script from OCA/maintainer-tools.
Licenses
This repository is licensed under AGPL-3.0.
However, each module can have a totally different license, as long as they adhere to Odoo Community Association (OCA)
policy. Consult each module's __manifest__.py file, which contains a license key
that explains its license.
OCA, or the Odoo Community Association, is a nonprofit organization whose mission is to support the collaborative development of Odoo features and promote its widespread use.
Description
Languages
HTML
40.2%
Python
39%
JavaScript
18.6%
CSS
1.9%
SCSS
0.3%
