Tuesday, June 3, 2025
1 change · saas-18.2
Resolved issues and error corrections
This update fixes how custom report components are registered so localized accounting reports load the right elements consistently. It reduces the chance of errors during upgrades or forward-porting, especially for Luxembourg annual tax reporting and other localization reports.
Original PR description
The last section of l10n_lu_reports's annual tax report makes use of a custom component. Due to the changes introduced in https://github.com/odoo/enterprise/commit/b4e146e34561f9d0411fcfa4cc9faf9b66dcffb0, the component registration was made on the wrong module. This "module" parameter of registerCustomComponent is too error prone, and will create errors in forward-ports; let's get rid of it, and simply make sure we use unique class names on components (by prefixing them L10nXX in localizations).