Daily updates from Odoo
Monday, August 5, 2024
3 changes
Enhancements to existing features
This update simplifies how translatable text is defined across several Odoo Enterprise screens and dialogs. It helps reduce duplicated code and makes future translation maintenance easier without changing the user experience.
Original PR description
To make it translatable, the content of some props was sometimes placed in the JavaScript code of the component to be wrapped in a call to gettext. With the introduction of the .translate modifier for props, this indirection by the JS code is no longer necessary. This commit converts the code to use .translate as much as possible. It is believed that avoiding indirection is better for code readability, and less prone to result in dead code. Community: https://github.com/odoo/odoo/pull/175378
The payroll accounting test flows now use the newer, human-readable URL format. This keeps automated checks aligned with the updated navigation style and helps maintain smoother validation of Belgian payroll processes.
Original PR description
This commit modifies existing URLs to the new format so that the URL's become more human readable. Community PR: https://github.com/odoo/odoo/pull/174304 Task-3820230
WhatsApp templates must now include a category before they can be saved or used. This aligns Odoo with WhatsApp API requirements and helps prevent template submission issues caused by missing category information.
Original PR description
Since whatsapp category is required by whatsapp API, we should modify the field definition and make it required. task-4080578