Daily updates from Odoo
Friday, September 5, 2025
3 changes
Code cleanup and technical improvements
This update removes older direct access paths for URL conversion so all parts of the system use the central router behavior. This lowers the risk of inconsistent navigation behavior after router customizations, with no expected visible change for users.
Original PR description
Since [1], overriding the router’s state <-> URL conversion functions is supported. However, both functions were still exported, which could cause inconsistencies if code continued using the exported versions instead of the overridden ones. This commit removes the exports, ensuring that the functions are always accessed through the router. [1] https://github.com/odoo/odoo/commit/d278ab17698c0c4fbdf887b19ed7ccb9122ffb77
This update streamlines internal guided test tours by replacing a heavier dependency with standard browser functionality. It helps reduce asset size and supports faster loading of the tour testing framework without changing business features.
Original PR description
In this commit, we replace hoot-dom uses in tour files by native javascript. For legitimate uses of hoot in tours, we exported the "queryFirst, queryAll, queryOne, waitFor, and waitUntil" hoot helpers into tour_helpers. These two actions are made in order to lazy load hoot-dom in web_tour to reduce assets size.
The Web Studio report editor no longer loads an older editing component that is no longer needed. This reduces unnecessary dependencies and helps keep the editor simpler to maintain without changing day-to-day functionality for users.
Original PR description
The report editor uses the new html_editor since [1]. This commit removes the loading of the legacy one, and the depenendency to web_editor, as nothing seems to be requesting it anymore. [1] https://github.com/odoo/enterprise/pull/66656