-
- Downloads
[IMP] account: support multiple tax reports per country
- Introduce a new account.tax.report object
> Tax report lines now refer to a tax report, and the tax report to a country
- Tax report lines can share tags accross reports within the same country
> To support the cases where some report is a simplified version of another one: some of its lines can be computed in the same way as the 'bigger' report.
> This is done by giving the same tag_name to the tax report lines, and the same country_id to their parent report.
> Full support for tag name modification, and the way it impacts the shared tags (sometimes, we can overwrite them all, sometimes we must delete them, sometimes, we create new tags to replace them on some report lines).
- Support copying tax report (and the lines/tags linked to it), so that it is possible to duplicate them and change the country set on the duplicate for use in another country (coopying is way better as replacing in place, as we don't keep any link to an xmlid, and still allow using the original report in the original country it was created for).
- Make all l10n* modules compatible with those changes
closes odoo/odoo#38964
Related: odoo/enterprise#6217
Signed-off-by:
oco-odoo <oco-odoo@users.noreply.github.com>
Showing
- addons/account/models/account.py 183 additions, 51 deletionsaddons/account/models/account.py
- addons/account/security/ir.model.access.csv 2 additions, 0 deletionsaddons/account/security/ir.model.access.csv
- addons/account/tests/__init__.py 1 addition, 0 deletionsaddons/account/tests/__init__.py
- addons/account/tests/test_tax_report.py 257 additions, 0 deletionsaddons/account/tests/test_tax_report.py
- addons/account/views/account_tax_report_views.xml 48 additions, 13 deletionsaddons/account/views/account_tax_report_views.xml
- addons/account/wizard/wizard_tax_adjustments.py 2 additions, 1 deletionaddons/account/wizard/wizard_tax_adjustments.py
- addons/account/wizard/wizard_tax_adjustments_view.xml 2 additions, 2 deletionsaddons/account/wizard/wizard_tax_adjustments_view.xml
- addons/l10n_ae/data/account_tax_report_data.xml 56 additions, 51 deletionsaddons/l10n_ae/data/account_tax_report_data.xml
- addons/l10n_at/data/account_tax_report_data.xml 77 additions, 71 deletionsaddons/l10n_at/data/account_tax_report_data.xml
- addons/l10n_au/data/account_tax_report_data.xml 35 additions, 30 deletionsaddons/l10n_au/data/account_tax_report_data.xml
- addons/l10n_be/data/account_tax_report_data.xml 351 additions, 349 deletionsaddons/l10n_be/data/account_tax_report_data.xml
- addons/l10n_bo/data/account_tax_report_data.xml 25 additions, 21 deletionsaddons/l10n_bo/data/account_tax_report_data.xml
- addons/l10n_br/data/account_tax_report_data.xml 134 additions, 128 deletionsaddons/l10n_br/data/account_tax_report_data.xml
- addons/l10n_ch/data/account_tax_report_data.xml 41 additions, 36 deletionsaddons/l10n_ch/data/account_tax_report_data.xml
- addons/l10n_cl/data/account_tax_report_data.xml 30 additions, 26 deletionsaddons/l10n_cl/data/account_tax_report_data.xml
- addons/l10n_de/data/account_account_tags_data.xml 72 additions, 67 deletionsaddons/l10n_de/data/account_account_tags_data.xml
- addons/l10n_do/data/account_tax_report_data.xml 23 additions, 18 deletionsaddons/l10n_do/data/account_tax_report_data.xml
- addons/l10n_et/data/account_tax_report_data.xml 222 additions, 219 deletionsaddons/l10n_et/data/account_tax_report_data.xml
- addons/l10n_fr/data/tax_report_data.xml 750 additions, 747 deletionsaddons/l10n_fr/data/tax_report_data.xml
- addons/l10n_gr/data/account_tax_report_data.xml 18 additions, 13 deletionsaddons/l10n_gr/data/account_tax_report_data.xml
Loading
Please register or sign in to comment