Thursday, September 3, 2026
8 changes · master
Code cleanup and technical improvements
This update simplifies internal setup for website, email, and HTML editing tools by removing unnecessary data-passing layers. It should make the code easier to maintain without changing how users interact with these features.
Original PR description
* html_builder,html_editor,mass_mailing,website Remove `useSubEnv()` calls that were only passing component-local data through the environment layer. Replace with direct instance variable or prop assignments. This simplifies component initialization by eliminating unnecessary environment-based indirection. Values like `localOverlayContainerKey` and `builderRef` are now: - Assigned directly to component instances - Passed as component props where appropriate - Accessed directly from the component in templates
This update simplifies internal component setup in Knowledge and Web Studio by removing an unnecessary indirect way of passing local data. It should make the code easier to maintain without changing how users interact with these features.
Original PR description
* knowledge,web_studio Remove `useSubEnv()` calls that were only passing component-local data through the environment layer. Replace with direct instance variable or prop assignments. This simplifies component initialization by eliminating unnecessary environment-based indirection. `localOverlayContainerKey` is now: - Assigned directly to component instances - Accessed directly from the component in templates
This update reorganizes web tour assets into a simpler folder structure and adjusts related references across affected Odoo modules. It should not change user-facing behavior, but it reduces maintenance complexity and helps prevent asset loading or styling issues.
Original PR description
Flatten the unnecessary js/ subfolder into static/src/, alongside views/, widgets/ and scss/. Update imports and manifest asset paths accordingly. Description of the issue/feature this PR addresses: Current behavior before PR: Desired behavior after PR is merged: --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
This update standardizes internal naming for configuration helpers in the web and resource areas. It reduces developer confusion and prepares the platform for future framework changes, with no expected change to day-to-day user behavior.
Original PR description
Replace deprecated config imports with the correctly named useConfig hook to align with owl3 hook naming conventions. In owl3, hook functions should follow the use* naming pattern. However, props, plugin, and config were introduced without this convention, making it unclear that they are hooks. This creates confusion and inconsistent usage throughout the codebase, with some code using the old config while other code uses the correctly named useConfig. While config is technically deprecated in owl and will eventually be removed, it was retained in Odoo due to widespread usage. This refactoring consolidates all usages to the correctly named useConfig hook, ensuring consistency across the codebase and preparing for the eventual removal of the deprecated config function from owl.
This change updates several Odoo Enterprise web interface components to align with the newer OWL framework version. It is mainly internal maintenance that helps keep views such as cohort, gantt, grid, map, Studio, and the home menu compatible and easier to maintain, with little expected impact on day-to-day users.
Original PR description
- https://github.com/odoo/odoo/pull/286472 See commit messages for details. --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
Web Studio was updated to use the current naming convention for an internal configuration helper. This makes the codebase more consistent and easier to maintain, with no expected change for end users.
Original PR description
Replace deprecated config imports with the correctly named useConfig hook to align with owl3 hook naming conventions. In owl3, hook functions should follow the use* naming pattern. However, props, plugin, and config were introduced without this convention, making it unclear that they are hooks. This creates confusion and inconsistent usage throughout the codebase, with some code using the old config while other code uses the correctly named useConfig. While config is technically deprecated in owl and will eventually be removed, it was retained in Odoo due to widespread usage. This refactoring consolidates all usages to the correctly named useConfig hook, ensuring consistency across the codebase and preparing for the eventual removal of the deprecated config function from owl.
This update adjusts internal test and asset references after a shared tour component was reorganized. It helps keep automated checks and public signing pages working correctly without changing day-to-day user workflows.
Original PR description
web_tour flattened static/src/js/ into static/src/ (odoo repo). Update the asset path and @web_tour/js/... imports accordingly.
This update modernizes how many Odoo interface components define their inputs as part of the ongoing Owl 3 migration. It is an internal cleanup that improves consistency and future maintainability without intended changes to everyday user workflows.
Original PR description
- https://github.com/odoo/enterprise/pull/130310 See commit messages for details. --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr