Daily updates from Odoo
Friday, January 24, 2025
2 changes
Code cleanup and technical improvements
WhatsApp template fields were reorganized so templates are not unnecessarily recalculated when messages are sent. This makes the sending flow more reliable while avoiding disruptive view updates for existing customers.
Original PR description
The previous fix https://github.com/odoo/enterprise/commit/6f1b1a8 was not an actual solution, as the proper fix requires a view update. This is not feasible in the stable version since we cannot force-update all customers' views. The purpose of this task is to refactor the **header_text_1**, **free_text_x** and **button_dynamic_url_x** fields. This will eliminate the need to use _origin and move the readonly attribute from the XML side to the Python file, preventing the WhatsApp template from being recomputed upon sending. Task-4083217
Payroll salary rules were reorganized so their names can use Odoo's standard translation process instead of a temporary workaround. This improves consistency across country-specific payroll modules and removes outdated Belgian payroll rules, while also preventing an issue in Mexican payroll amount calculations.
Original PR description
Purpose ======= Permit translation of all rules by removing all copied ones also revert the change made by the framework because typo was present in l10n_be remove an old rule (inactive for more than 2years) task-3844686