[FIX] point_of_sale: fix of currency symbol on receipts discount

Fine tuning of c351f00

In the POS module there is the possibility to print receipts.

Before this commit:

    - The currency symbol appears in the receipts but not in sublines
      and discount

After this commit:

    - The currency symbol appears in the receipts but not in sublines

OPW-2083188

closes odoo/odoo#39114

X-original-commit: 6a22bb1e4e917a27b41290824fec86718935d864
Signed-off-by: Nicolas Martinelli (nim) <nim@odoo.com>
This commit is contained in:
jvm-odoo
2019-10-21 11:28:23 +00:00
committed by fw-bot
parent 9cad630d71
commit b2314c9b26
+1 -1
View File
@@ -1014,7 +1014,7 @@
<t t-if='receipt.total_discount'>
<div>
Discounts
<span t-esc='widget.format_currency_no_symbol(receipt.total_discount)' class="pos-receipt-right-align"/>
<span t-esc='widget.format_currency(receipt.total_discount)' class="pos-receipt-right-align"/>
</div>
</t>
<t t-if='taxincluded'>