owl-t-raw (OWL002)#

An OWL template uses t-raw, deprecated in OWL 2 for t-out.

Applies to Odoo 16.0 and later.

What it does#

Reports t-raw in the OWL templates of the module’s assets.

Why is this bad?#

OWL 2 renders it as t-out and logs a warning on every compilation: a value not wrapped in markup() is escaped, so HTML built as a plain string shows as text. OWL 3 drops it.

Fix safety#

Unsafe: t-raw becomes t-out; wrap the value in markup() in the component where it holds HTML.