Friday, March 20, 2026
4 changes · saas-18.4
Resolved issues and error corrections
This update resolves an issue impacting VAT calculations for Peru (PE) invoices. A previous change removed a key element needed for accurate tax tier determination, leading to incorrect tax amounts. This fix reintroduces the necessary 'TierRange' setting, ensuring proper VAT calculations are generated for PE invoices.
Original PR description
In [^1] the PE implementation for XML generation was rewritten to use the new dict_to_xml design rather than a large QWeb view. In that refactor the `TierRange` key on `TaxCategory` was lost. This PR re-introduces it. task-6046603 [^1]: odoo/enterprise#87598
This update fixes a user experience issue where the 'Generate PDFs' button didn't process all employee declarations when multiple pages were involved. Now, selecting 'Select All' reliably generates PDFs for all records in the list, and users can easily regenerate PDFs for existing documents. This ensures a smoother and more intuitive process for generating payroll reports.
Original PR description
This PR solves the following issues: - In the list view of employee declarations, when the records span to multiple page, pressing `Select all` and the `Generate PDFs` button only generates the PDFs of the records selected on the current page, which is confusing for users who expect all records to be processed. - When you select lines that have a generated PDF, you should have an option to regenerate the PDF if needed. At the moment, the Generate PDFs button only works on lines in draft state. task-5909426 Forward-Port-Of: odoo/enterprise#107232
This update fixes an issue where quarterly VAT returns in the Italian tax module didn't automatically generate the necessary XML files. The fix corrects a logic error that was relying on the wrong date field for determining the return period. Now, quarterly returns will correctly produce the XML files required for submission.
Original PR description
## Issue: When the tax return periodicity is set to quarterly and the return is validated, the XML file is not generated and downloaded ## Cause: The quarter detection logic was based on the `date_from` field of the return However, for quarterly returns, the correct reference should be `date_to` Using `date_to` also works correctly for monthly returns ## Steps to reproduce: - Install `l10n_it_xml_export` - Switch to the IT Company - Go in the Tax Report (Monthly VAT Report (IT)) to do a Tax Return (Opening Date: 01/01/2025, Periodicity: Quarterly) - If needed change the Tax Return Periodicity in Settings to Quaterly - Select the first report and ignore the error in Review Before the fix, it is only possible to close the return without generating the XML export opw-5707544 Forward-Port-Of: odoo/enterprise#108548
This update resolves a discrepancy in accounting calculations within the Point of Sale (POS) module for Mexican tax reporting (l10n_mx_edi_pos). Previously, asset loading issues resulted in incorrect amounts being displayed in the POS, now the calculations align with those performed in Python. This ensures accurate financial reporting for users in Mexico.
Original PR description
Before this commit, the needed assets were not correctly loaded in the POS, which caused the amounts to be different from the ones computed in python. opw-5970322 Forward-Port-Of: odoo/enterprise#111266