Thursday, March 5, 2026
2 changes · master
Code cleanup and technical improvements
This update adds the necessary `.this` syntax to template variables across several Odoo modules to align with upcoming OWL3 requirements. This change is a preparatory step for a larger upgrade, ensuring compatibility with newer features and improving the way components are referenced in templates. It primarily impacts modules like Marketing Automation, Quality Control, and Room Booking.
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 = [quality,room,marketing_automation] task: OWL3 prep - add this. to template variables
This update prepares Odoo for a future upgrade (OWL3) by automatically adding the `.this` syntax to template variables. This change ensures that variables referencing components will work correctly with the new syntax, preventing potential issues with future updates. It’s a proactive step to maintain compatibility.
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 = [purchase,resource,repair,rpc,rating] task: OWL3 prep - add this. to template variables