Friday, May 29, 2026
2 changes · saas-19.2
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