Friday, October 20, 2023
2 changes · master
Code cleanup and technical improvements
This update moves an internal web record file into a more appropriate model folder and adjusts related references across several Odoo apps. It should not change day-to-day functionality, but it helps keep the codebase cleaner and easier to maintain for future improvements.
Original PR description
This commit is part of a serie of commits which aims at simplifying and reorganizing js files in the web addon task-id: 3508223
The Peruvian electronic invoicing module now reuses Odoo's shared UBL 2.1 invoice format instead of maintaining separate duplicate templates. This simplifies future maintenance and helps keep Peru e-invoicing aligned with common invoice format updates, with little direct change expected for users.
Original PR description
Currently the Peruvian EDI module defines its own UBL templates. Since the Peruvian electronic invoices use UBL 2.1, it makes a lot more sense to inherit from our generic UBL 2.1 format defined in `account_edi_ubl_cii` to remove code duplication and have a single point to edit the generic UBL parts. [task-3415758](https://www.odoo.com/web#id=3415758&cids=1&menu_id=4720&action=333&active_id=967&model=project.task&view_type=form) Related to https://github.com/odoo/odoo/pull/132529 Related to https://github.com/odoo/upgrade/pull/5131