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

@@ -4,8 +4,8 @@
<odoo>
<template id="aging_buckets">
<p>
Aging Report at <span t-esc="d['end']" /> in <span
t-esc="display_currency.name"
Aging Report at <span t-out="d['end']" /> in <span
t-out="display_currency.name"
/>:
</p>
<table class="table table-sm table-statement">
@@ -13,7 +13,7 @@
<tr>
<t t-foreach="bucket_labels" t-as="bl">
<th class="amount">
<span t-esc="bl" />
<span t-out="bl" />
</th>
</t>
</tr>
@@ -23,43 +23,43 @@
<tr>
<td class="amount">
<span
t-esc="buckets.get('current', 0.0)"
t-out="buckets.get('current', 0.0)"
t-options="{'widget': 'monetary', 'display_currency': display_currency}"
/>
</td>
<td class="amount">
<span
t-esc="buckets.get('b_1_30', 0.0)"
t-out="buckets.get('b_1_30', 0.0)"
t-options="{'widget': 'monetary', 'display_currency': display_currency}"
/>
</td>
<td class="amount">
<span
t-esc="buckets.get('b_30_60', 0.0)"
t-out="buckets.get('b_30_60', 0.0)"
t-options="{'widget': 'monetary', 'display_currency': display_currency}"
/>
</td>
<td class="amount">
<span
t-esc="buckets.get('b_60_90', 0.0)"
t-out="buckets.get('b_60_90', 0.0)"
t-options="{'widget': 'monetary', 'display_currency': display_currency}"
/>
</td>
<td class="amount">
<span
t-esc="buckets.get('b_90_120', 0.0)"
t-out="buckets.get('b_90_120', 0.0)"
t-options="{'widget': 'monetary', 'display_currency': display_currency}"
/>
</td>
<td class="amount">
<span
t-esc="buckets.get('b_over_120', 0.0)"
t-out="buckets.get('b_over_120', 0.0)"
t-options="{'widget': 'monetary', 'display_currency': display_currency}"
/>
</td>
<td class="amount">
<span
t-esc="buckets.get('balance', 0.0)"
t-out="buckets.get('balance', 0.0)"
t-options="{'widget': 'monetary', 'display_currency': display_currency}"
/>
</td>