Skip to content

Commit

Permalink
[FIX] account: Wrong currency symbol in payment receipt report
Browse files Browse the repository at this point in the history
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#73685

Signed-off-by: Laurent Smet <[email protected]>
  • Loading branch information
simongoffin committed Jul 14, 2021
1 parent 9616eae commit f08bcbf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion addons/account/views/report_payment_receipt_templates.xml
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down

0 comments on commit f08bcbf

Please sign in to comment.