[FIX] account: Wrong currency symbol in payment receipt report

Steps to reproduce the bug:

Enable Multi Currency > Accounting > Create Customer Invoice in USD > Pay Invoice in EUR > click on payment and print payment receipt

Bug:

The currency symbol next to "Amount Paid" was in $ instead €

opw:2506868

closes odoo/odoo#73998

X-original-commit: f08bcbf90257d632f7258251059a5390bf3eafa4
Signed-off-by: Laurent Smet <smetl@users.noreply.github.com>
This commit is contained in:
Goffin Simon
2021-07-19 19:10:06 +00:00
parent 4440484c80
commit 1e430dc614
@@ -51,7 +51,7 @@
<td><span t-field="inv.name"/></td>
<td><span t-field="inv.ref"/></td>
<td class="text-right"><span t-field="inv.amount_total"/></td>
<td class="text-right"><span t-esc="amount" t-options="{'widget': 'monetary', 'display_currency': inv.currency_id}"/></td>
<td class="text-right"><span t-esc="amount" t-options="{'widget': 'monetary', 'display_currency': o.currency_id}"/></td>
<td class="text-right"><span t-field="inv.amount_residual"/></td>
</t>
</tr>