Daily updates from Odoo
Monday, June 8, 2026
1 change
Code cleanup and technical improvements
This update simplifies how plugins manage submit buttons within Odoo. Previously, a single, hardcoded list required developers to modify core code for each plugin. Now, plugins can easily register their own submit button selectors, making updates and maintenance much easier and more flexible. This improves the overall stability and maintainability of the Odoo platform.
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#266991 Forward-Port-Of: odoo/odoo#252679