`report_journal_ledger` is auto-vacuumed as any transient model, but has some ondelete="cascade" constraints that auto-remove subtables when a record is removed, doing this operation very slow when selecting these sub-records. Letting default ondelete="set null" would result in same performance bottleneck, as the select on sub-table is performed the same for setting "null" value on them. As a solution, and for avoiding a costly index operation, we delete by SQL sub-tables rows in advance. A bit of extra logic has been added for avoiding to remove that records if it's not the turn of vacuum the parent table. |
||
---|---|---|
account_financial_report | ||
account_tax_balance | ||
setup | ||
.editorconfig | ||
.eslintrc.yml | ||
.flake8 | ||
.gitignore | ||
.isort.cfg | ||
.pre-commit-config.yaml | ||
.prettierrc.yml | ||
.pylintrc | ||
.pylintrc-mandatory | ||
.travis.yml | ||
LICENSE | ||
README.md | ||
oca_dependencies.txt |
README.md
Odoo account financial reports
This project aims to deal with modules related to financial reports. You'll find modules that print legal and official reports. This includes, among others:
- One module based on webkit and totally rewritten by camptocamp, for standard financial reports.
- Another based on RML completely improved by Vauxoo.