upgrade-t-call-element (U1920)#

t-call on an element other than <t>, rejected in Odoo 19.0.

Applies to Odoo 19.0 and later.

What it does#

Reports t-call on elements such as <div> or <span>.

Why is this bad?#

Odoo 19.0 requires t-call to be on a <t>: rendering fails with “t-call must be on a element”. Wrap it: <div><t t-call="..."/></div>, or move the attributes into the called template.