Daily updates from Odoo
Friday, March 13, 2026
6 changes
Code cleanup and technical improvements
This update simplifies website configuration by moving option definitions from JavaScript to XML files. This change improves maintainability and consistency across the website modules, aligning with a new development standard. The core logic for website options is now managed through XML, streamlining the process and reducing complexity.
Original PR description
*: ai_website_livechat, website_appointment, website_sale_renting This commit adapts website_* options to the XML-first DSL introduced in `html_builder`/`website`. Core changes: - Option placement and attributes (`selector`, `title`, `groups`, `editableOnly`, ...) are now declared in `website.BuilderOptions` XML extensions. - JS plugins no longer register options via `builder_options` using `withSequence`; they stay focused on actions and services. - Option classes kept for behavior are linked through `static id` and registered in `website-options` registry when needed. - Obsolete JS-only option wrappers/plugins are removed when XML-only declarations are sufficient. For more information and context, read the community commit message. task-5358660
This update prepares the website templates for OWL3, a new technology that requires a specific syntax (.this) to access components within templates. The changes add this. to template variables, ensuring compatibility with the upcoming OWL3 update and maintaining consistent component referencing across various website modules.
Original PR description
In preparation for OWL3, where template variables will need to use .this to target component variables, we add this. to template variables that are targetting the component. Script PR: odoo#247965 https://github.com/odoo/odoo/pull/253364
This update simplifies how data is grouped within key Enterprise modules like Knowledge, Gantt, and Studio. The team has switched to using the standard JavaScript `Object.groupBy` method, aligning with recent changes in the core Odoo system. This improves efficiency and reduces potential future maintenance challenges.
Original PR description
**This PR:** Migrates Enterprise call sites to the native **`Object.groupBy`** API, following its removal from core. ### Key Changes * **Migration:** Updated call sites in Knowledge, Gantt, and Studio. * **Refactor:** Converted string criteria to callbacks and removed unused imports. **Task-5477775**
This update standardizes the naming of resources within several Odoo website plugins. Specifically, a naming inconsistency was corrected to improve code organization and maintainability. This change ensures a more consistent and manageable codebase for future development.
Original PR description
*: website_appointment, website_sale_renting This commit renames `so_content_addition_selector` to `so_content_addition_selectors` to enforce the use of coherent naming among plugin resources. Community PR: https://github.com/odoo/odoo/pull/247166 task-5363816
This update prepares our Odoo templates for OWL3 by adding the `.this` syntax to template variables. This is necessary because OWL3 requires template variables to explicitly target component variables, ensuring compatibility with the new rendering context. This change impacts several spreadsheet-related modules to ensure a smooth transition.
Original PR description
*documents_spreadsheet,hr_contract_salary,project_enterprise, sale_timesheet_enterprise,spreadsheet_dashboard_edition, spreadsheet_edition,spreadsheet_sale_management, test_spreadsheet_edition,timesheet_grid In preparation for OWL3, where template variables will need to use `.this` to target component variables, we add `.this` to template variables that are targetting the component. Script PR: odoo/odoo#247965 task: OWL3 prep - add this. to template variables
This update prepares our Point of Sale system for OWL3, a new version of Odoo. It modifies template variables to use `.this`, which is now required to correctly target component variables. This ensures the POS system functions correctly with the updated Odoo version.
Original PR description
In preparation for OWL3, where template variables will need to use `.this` to target component variables, we add `.this` to template variables that are targetting the component. Community PR: https://github.com/odoo/odoo/pull/253046 Script PR: odoo/odoo#247965 task: OWL3 prep - add this. to template variables