Tuesday, March 10, 2026
16 changes · master
Code cleanup and technical improvements
This change removes unnecessary redirects from onboarding tours within the HR Contract Salary Payroll module. The previous setup caused wasted time and potential confusion for new users. This refactoring streamlines the onboarding process and improves user efficiency.
Original PR description
The URL key in a tour's JavaScript file implies a redirect to that URL once the browser opens. If this URL is the same as the one used in start_tour() (Python), then it serves no purpose. It's even detrimental because it implies a redirect (and therefore a waste of time). The URL key in the JS file is (for now) only used for onboarding tours. This key will be defined later in the .xml file for onboarding tours. That's why we're removing the URL keys from the registries here.
This update modifies Odoo's templates to align with upcoming OWL3 requirements. Specifically, it adds `.this` to template variables that reference components, ensuring compatibility with the new OWL3 rendering context. This proactive step ensures a smooth transition to the new OWL3 standard.
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: https://github.com/odoo/odoo/pull/247965 THIS_TARGETS = ["social"] task: OWL3 prep - add this. to template variables
This update modifies Odoo's template variables to align with the upcoming OWL3 system. Specifically, it adds `.this` to target component variables, a necessary change for OWL3's functionality. This ensures seamless integration and avoids potential issues when transitioning to the new system.
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/249848 Script PR: https://github.com/odoo/odoo/pull/247965 task: OWL3 prep - add this. to template variables THIS_TARGETS = ["account", "accountant"] I confirm I have signed the CLA and read the PR guidelines at [www.odoo.com/submit-pr](http://www.odoo.com/submit-pr)
This update simplifies how payslip properties are defined, moving from using IDs to using salary rule codes. This ensures payslips update correctly and prevents future issues with mismatched property definitions. An upgrade script automatically updates existing payslips and rules to align with this new standard.
Original PR description
Refactor payslip properties to user salary rule name instead of ID as a key in the json This includes: - Updating the logic to use salary rule code as a key in the input properties json - Adjust payroll structure to use the code as it will fail to update if the property definition does not match the json - Added a validation for newly added salary rules to follow the code naming convention - Upgrade script to update existing codes in salary rules and previous payslips that are labeled as property_input - Upgrade tests accordingly We change the salary rules that are property inputs and their codes don't follow the alphanumeric regex, currently those would be: ``` - EU.LEAVE.DEDUC - P.P.ADJ - DOUBLE.DECEMBER.BASIC - MOBILITY.PAYMENT - SPECIFIC RULES - SIMPLE.DECEMBER - SSCEMP.1 - N.P.BASIC - ATN.SOCIAL.CONTRIB ``` A condition was also added to validate that the codes of newly added rules follow the convention task-5366999
This update simplifies how Odoo handles chat conversations by removing an outdated method of accessing chat channels. This change streamlines the chat experience and aligns with the latest Odoo features. It ensures more efficient and reliable chat functionality.
Original PR description
This commit removes the last remaining access to the `discuss.channel` model through `getOrFetch` from `mail.thread`. PR community: https://github.com/odoo/odoo/pull/243488
This update modifies Odoo's template code to align with upcoming OWL3 requirements. Specifically, it adds `.this` to template variables that reference components, ensuring compatibility with the new OWL3 rendering context. This prepares the system for a smoother transition and avoids potential issues with future template development.
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: https://github.com/odoo/odoo/pull/247965 THIS_TARGETS = [sign, sms, snailmail] task: OWL3 prep - add this. to template variables
This update prepares our Odoo Enterprise system for OWL3, a new rendering engine. It adds the necessary `.this` syntax to template variables that reference components, ensuring compatibility with the upcoming changes. This ensures a smooth transition and avoids potential issues with future functionality.
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 targeting the component. Script PR: odoo/odoo#247965 targets: ["product"] impacts: ["planning_field_service_sale_stock", "sale_subscription"] task: OWL3 prep - add this. to template variables
This update prepares our Odoo Enterprise system for OWL3, a new version of our template engine. We've updated template variables to include `.this`, which is now required to correctly reference component variables. This ensures continued compatibility and functionality with the upcoming OWL3 release.
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/odoo#247965 task: OWL3 prep - add this. to template variables
This update prepares Odoo for OWL3, a new rendering system. It adds the `.this` syntax to template variables, which is now required to correctly reference component elements. This ensures compatibility with the upcoming OWL3 changes and avoids potential issues with future template development.
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/odoo#247965 task: OWL3 prep - add this. to template variables
This update prepares the Web Studio module for the upcoming OWL3 release. It adds the `.this` syntax to template variables, which is now required to correctly target component variables within the rendering context. This ensures the Web Studio functionality continues to work seamlessly with the new OWL3 framework.
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: #247965 task: OWL3 prep - add this. to template variables
This update prepares Odoo Enterprise for OWL3 by automatically adding '.this' to template variables that reference components. This change is necessary because OWL3 requires this syntax for correctly targeting component variables within templates, ensuring compatibility with the new rendering engine.
Original PR description
*project_enterprise 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: #247965 task: OWL3 prep - add this. to template variables
This update prepares Odoo for the upcoming OWL3 rendering system by automatically adding '.this' to template variables. This is necessary because OWL3 requires this syntax to correctly reference component variables within templates. The changes ensure compatibility with the new system and prevent rendering errors.
Original PR description
*web_studio 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: #247965 task: OWL3 prep - add this. to template variables
This update modifies Odoo templates to align with upcoming OWL3 requirements. Specifically, it adds `.this` to template variables that reference component data, ensuring compatibility with the new rendering context. This is a preparatory step for a larger OWL3 migration.
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/odoo#247965 task: OWL3 prep - add this. to template variables
This update prepares our Odoo templates for OWL3, a new rendering engine. It adds the `.this` syntax to template variables that reference components, ensuring compatibility with the updated engine's variable targeting method. This is a necessary step to avoid future rendering issues.
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/odoo#247965 task: OWL3 prep - add this. to template variables
This update prepares Odoo for a future upgrade (OWL3) that requires a specific syntax for referencing components within templates. The team has automatically updated template variables in the 'voip' module to include `.this`, ensuring compatibility with the new OWL3 rendering context. This change is a proactive step to avoid issues during the upcoming upgrade.
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: https://github.com/odoo/odoo/pull/247965 THIS_TARGETS = ["voip"] task: OWL3 prep - add this. to template variables
This update modifies Odoo templates to align with upcoming OWL3 requirements. Specifically, it adds `.this` to template variables that reference components, ensuring compatibility with the new variable targeting method. This is a preparatory step for a larger OWL3 migration.
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/252725 Script PR: odoo/odoo#247965 task: OWL3 prep - add this. to template variables