Replace t-esc with t-out

This commit is contained in:
Danny W. Adair
2023-12-18 10:18:21 +13:00
committed by Miquel Raïch
parent bf2d7c6dd1
commit 2e0cda6adc
4 changed files with 52 additions and 52 deletions

View File

@@ -7,11 +7,11 @@
<t t-set="o" t-value="o.with_context({'lang': lang})" />
<t t-set="address">
<address
t-esc="get_inv_addr(o)"
t-out="get_inv_addr(o)"
t-options='{"widget": "contact", "fields": ["address", "name"], "no_marker": True}'
/>
<div t-if="o.vat" class="mt16"><t
t-esc="company.country_id.vat_label or 'Tax ID'"
t-out="company.country_id.vat_label or 'Tax ID'"
/>: <span t-field="o.vat" /></div>
</t>
<div class="page">
@@ -19,7 +19,7 @@
<div id="informations" class="row mt32 mb32">
<div class="col-3 bm-2">
<strong>Date:</strong>
<p t-esc="d['today']" class="m-0" />
<p t-out="d['today']" class="m-0" />
</div>
<div class="col-3 bm-2">
<strong>Partner Name:</strong>