-
- Downloads
[IMP] account: Archive tax tags upon report changes
When unlinking or writing a tax report line, the related tags that are no longer relevant were not archived. We now archive tags if they are still used in account.move.line and display a banner in report that let the user know there might be a problem and invite him to correct tax tags. closes odoo/odoo#108562 Task: 3084028 X-original-commit: 4efc4071 Related: odoo/enterprise#35195 Signed-off-by:Josse Colpaert <jco@odoo.com> Signed-off-by:
Olivier Colson (oco) <oco@odoo.com>
Showing
- addons/account/models/account_account_tag.py 1 addition, 1 deletionaddons/account/models/account_account_tag.py
- addons/account/models/account_move_line.py 1 addition, 0 deletionsaddons/account/models/account_move_line.py
- addons/account/models/account_report.py 56 additions, 6 deletionsaddons/account/models/account_report.py
- addons/account/models/chart_template.py 1 addition, 1 deletionaddons/account/models/chart_template.py
- addons/account/tests/test_tax_report.py 78 additions, 3 deletionsaddons/account/tests/test_tax_report.py
Loading
Please register or sign in to comment