[IMP] report_qweb_parameter: Remove warning Found deprecated directive @t-raw

WARNING devel odoo.addons.base.models.ir_qweb: Found deprecated directive
@t-raw='docs.env["ir.qweb"].check_length(docs[0].vat, 10, False)[:10]' in template 237.
Replace by @t-out, and explicitely wrap content in `Markup` if necessary
(which likely is not the case)

WARNING devel odoo.addons.base.models.ir_qweb: Found deprecated directive
@t-raw='docs.env["ir.qweb"].check_length(docs[0].company_registry, False, 10)'
in template 237. Replace by @t-out, and explicitely wrap content in `Markup`
if necessary (which likely is not the case)
This commit is contained in:
Víctor Martínez
2024-10-09 09:43:21 +02:00
parent a5f064f66b
commit 82488b191e

View File

@@ -25,13 +25,13 @@
name="raw_length"
t-minlength="10"
t-length="10"
t-raw="docs[0].vat"
t-out="docs[0].vat"
t-if="docs[0].vat"
/>
<li
name="raw_maxlength"
t-maxlength="10"
t-raw="docs[0].company_registry"
t-out="docs[0].company_registry"
t-if="docs[0].company_registry"
/>
<li