Thursday, June 12, 2025
2 changes · 18.0
Enhancements to existing features
This update adds more automated checks to ensure electronic invoice XML files are generated correctly for several country and regional formats. It helps reduce the risk of future changes breaking compliant e-invoicing outputs, especially for Turkey, Malaysia, ANZ, Japan, and Singapore formats.
Original PR description
This adds XML generation tests for the following UBL formats: - Turkey (Nilvera) - Malaysia - ANZ, JP, MY and SG PINT formats. Additionally, we improve error reporting in the `assertXmlTreeEqual` method. Enterprise PR: https://github.com/odoo/enterprise/pull/87222 task-4242065
This update adds automated checks to ensure Peruvian electronic invoices are generated correctly for free invoices and invoices combining ISC and IGV taxes. It also reorganizes the related test files, making future maintenance safer and easier without changing day-to-day user workflows.
Original PR description
This adds tests to check that the UBL is correctly generated in the case of free invoices (feature introduced by c8abe0a7536a0bbe703730) and invoices involving both ISC and IGV (feature introduced by d598f338537b8f55771d7a). We take the opportunity to refactor the Peruvian tests and split the expected XMLs each into its own file. Community PR: https://github.com/odoo/odoo/pull/213402 task-4242065