Daily updates from Odoo
Tuesday, June 9, 2026
6 changes
Code cleanup and technical improvements
This update simplifies the configuration of UOM views across various Odoo modules by renaming XML IDs. This change eliminates potential confusion between UOM and product UOM views, ensuring a cleaner and more consistent system. It’s a routine maintenance update to improve internal development processes.
Original PR description
This PR renames `uom.uom` xml ids to remove existing confusion with `product.uom` views and to match naming conventions. Community PR: https://github.com/odoo/odoo/pull/262588 Upgrade PR: https://github.com/odoo/upgrade/pull/10183 Task-6148914
This update simplifies automated tour steps within Odoo by removing unnecessary code and configurations. Specifically, it eliminates redundant wrappers and keys that weren't relevant in the test environment, resulting in a cleaner and more efficient codebase. This improves the overall performance and maintainability of the automated tour system.
Original PR description
In automatic tour steps, remove: - `_t()` and `markup()` wrappers (not needed in test context) - `tooltipPosition` keys (not relevant in automatic mode) - empty `run` functions
This update resolves an issue related to the rendering of account reports by replacing an outdated JavaScript technique. The change ensures the reports load and function correctly, addressing a potential performance bottleneck. This update aligns with best practices and avoids deprecated code.
Original PR description
Replaces useLayoutEffect with onPatched (useEffect was tried but fires before onPatched; setTimeout and Promise.resolve() chaining were also attempted to defer the call, but all microtask tricks still run before onPatched, where child field inputs are not yet focusable) WHY: useLayoutEffect is deprecated in OWL3[REF] : Replace useLayoutEffect Community PR: https://github.com/odoo/odoo/pull/268040
This update adjusts the helpdesk view to accommodate a change in how 'rotting field' widgets are organized. This improves the user interface and ensures the helpdesk functionality continues to operate smoothly. The change was driven by a task to streamline the helpdesk experience.
Original PR description
This commit adapts the helpdesk view to the split of rotting field widgets. Spotted in task~5262907
This update simplifies the codebase by removing the `useState` dependency, a component previously used for compatibility. The team has provided migration tooling and addressed the remaining instances of `useState`. This change improves code maintainability and efficiency.
Original PR description
In Owl3, uses of `useState` or replace with `proxy`. This commit removes `useState` from the compatibility layer, provides tooling for the migration in `owl3-migration` and removes the last uses of `useState`. *: ai, knowledge, obox, web_gantt
This update enhances the stability and reliability of Odoo's Web Studio module by utilizing 'contextvars'. These contextvars allow for more robust data handling within the editor, preventing potential issues and improving the overall user experience. This change focuses on internal improvements within Web Studio.
Original PR description
https://github.com/odoo/odoo/pull/256613