upgrade-owl3-template-directives (U2034)#
An OWL template uses t-portal, t-esc or a t-ref name, which OWL 3 (Odoo 20.0) changed.
Applies to Odoo 20.0 and later.
What it does#
Reports in the OWL templates of the module’s assets:
t-portal, which Odoo 20.0’s compatibility layer provides ast-custom-portal;t-esc, removed from OWL 3 (t-out);t-ref="name": OWL 3 refs are signals,t-ref="this.name"withname = signal.ref()in the component.
Fix safety#
Safe for t-portal and t-esc; a t-ref needs its component changed too.