Daily updates from Odoo
Monday, January 13, 2025
2 changes
1 change
Code cleanup and technical improvements
This update adjusts WhatsApp-related field selector usage to match a recent naming cleanup in the underlying platform. It keeps the Enterprise code aligned with the main Odoo framework and reduces maintenance risk without changing business workflows.
Original PR description
*: whatsapp: widget usages adaptations Since [1], DynamicModelFieldSelectorChar field widget was introduced. The related community commit renames it amongst other things. This commit adapts its usages in the enterprise repository. [1]: https://github.com/odoo/odoo/commit/fe62bfeacb38e03cb94010f1f75ae301951ac9d1 task-4388736
1 change
Code cleanup and technical improvements
This change removes an unnecessary naming option from website tour setup, making the underlying tour system simpler to maintain. It should not change the user experience, aside from keeping the homepage tour behavior intact through a cleaner implementation.
Original PR description
In this commit, in order to simplify the tours API, we remove the saveAs attribute from the tour object definition. This attribute does not bring anything in the sense that it just allows not to create in the registry a tour that could already exist and to save it under another name to have access to it from tour_service. To avoid the error of creating a key that already exists in the registry, simply remove it before adding it again. This is only used in the website module for the homepage tour. --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr