Friday, March 29, 2024
1 change · 17.0
Code cleanup and technical improvements
This update makes tax rounding compensation functionality available to all countries, not just France. Previously, only the French tax report could automatically handle and compensate for rounding differences when closing taxes. Now this capability is built into the core tax reporting system, allowing other countries to benefit from the same functionality without duplicating code.
Original PR description
The tax closing in France did an override of `_postprocess_vat_closing_entry_results` to be able to compute and compensate (by creating a move) difference from rounding taxes. As this functionality starts to be needed in other countries, we extract that method to `account_generic_tax_report` and made it generic. task-3691312 Forward-Port-Of: odoo/enterprise#56510