Daily updates from Odoo
Friday, May 29, 2026
5 changes
2 changes
Code cleanup and technical improvements
This update enhances the way timesheet values are displayed and formatted, making it easier to customize the look and feel. By creating a more adaptable widget, we've simplified the process of adjusting timesheet settings, improving usability for users.
Original PR description
This PR slightly refactors the FloatTime widget to create a getter for the formatting options of its value and popover, which not only is a DRY-positive thing, but also allows us to override it more easily in Timesheets Task-6251180
This update simplifies how plugins manage submit buttons within Odoo. Previously, changes required modifying core code, but now plugins can easily register their own button selectors, making the system more flexible and easier to maintain. This reduces the need for developers to directly alter the base Odoo code.
Original PR description
\* = website, website_payment Previously submit button selectors were defined in a single hardcoded string in the save snippet logic. This made the list harder to maintain and required modifying the base code whenever a new plugin needed to exclude its submit button from being saved as a snippet. Introduce a resource allowing plugins to register their own submit button selectors. Plugins can now extend this list directly from their code without modifying the base implementation. This makes the logic easier to maintain and provides a reusable extension point for other submit-button related behaviors in plugins. --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr Forward-Port-Of: odoo/odoo#264839 Forward-Port-Of: odoo/odoo#252679
3 changes
Code cleanup and technical improvements
This update clarifies the naming of a key widget from 'RemainingDaysField' to 'RelativeDateField'. This change addresses a previous misunderstanding about the widget's functionality, which accurately represents both past and future dates. This ensures consistent and accurate date calculations across various modules.
Original PR description
*: helpdesk, hr_appraisal, l10n_au_hr_payroll_account, pos_settle_due, sale_renting, web_studio: widget usages adaptations The widget name 'RemainingDaysField' was misleading as it implies a focus on future countdowns, whereas the widget is also used for past dates. task-6175442
This update modernizes the Clickbot by restructuring it as an ES6 class, enhancing its organization and maintainability. The changes also integrate the Clickbot with the application's menu system for more efficient navigation and data collection. This improves the overall user experience.
Original PR description
This commit completely revamps the Clickbot. The major modifications include: * The Clickbot is no longer a collection of procedural functions, but rather a structured ES6 class. * The Clickbot now utilizes the `menuService` to collect application and menu information, as well as to handle navigation between menus. task-id 6249942
This update streamlines the Belgian payroll process by moving the 'fixed_term' field to the dedicated l10n_be_hr_payroll module. This ensures the field is only displayed for Belgian employees, simplifying data and improving accuracy within the payroll system.
Original PR description
The fixed_term field is defined on employee and version in the hr and hr_payroll models. However, it is only ever useful in l10n_be_hr_payroll. Here, we want to move the field to that module and avoid showing it if the employee is not belgian. Here we remove the field from the employee and version models of the hr_payroll module, and add it back to the l10n_be_hr_payroll_module and its view. Task: 6229539