Daily updates from Odoo
Monday, August 22, 2022
1 change
Code cleanup and technical improvements
Several accounting and localization modules now share a common way to load and validate XML schema files. This reduces duplicated maintenance work and helps keep electronic reporting and invoicing validations consistent across countries.
Original PR description
The following modules all use XSD files to validate XML.
- account_saft
- l10n_{cl_edi, lu_reports, mx_reports, mx_edi, nl_reports, no_saft, pe_edi}
The goal is to refactor them in order to centralise their use of XSD loading and validation. By overriding methods in ir.attachment, modules can personalise the way they load their XSD files and then validate with them.
See https://github.com/odoo/odoo/pull/89145 for more details.
task id=2782053
related task id=2230702