[IMP] account_financial_report: common format for all amounts
In the open items report, the currency original and residual fields were being displayed as regular float fields. With this change they are printed with the corresponding format for the currency of the journal item.pull/939/head
parent
f21028acf4
commit
03ba2590bc
|
@ -248,11 +248,17 @@
|
|||
</div>
|
||||
<!--## amount_total_due_currency-->
|
||||
<div class="act_as_cell amount">
|
||||
<span t-esc="line['amount_currency']" />
|
||||
<span
|
||||
t-esc="line['amount_currency']"
|
||||
t-options="{'widget': 'monetary', 'display_currency': env['res.currency'].browse(line['currency_id'])}"
|
||||
/>
|
||||
</div>
|
||||
<!--## amount_residual_currency-->
|
||||
<div class="act_as_cell amount">
|
||||
<span t-esc="line['amount_residual_currency']" />
|
||||
<span
|
||||
t-esc="line['amount_residual_currency']"
|
||||
t-options="{'widget': 'monetary', 'display_currency': env['res.currency'].browse(line['currency_id'])}"
|
||||
/>
|
||||
</div>
|
||||
</t>
|
||||
<t t-if="not line['currency_id']">
|
||||
|
|
Loading…
Reference in New Issue