[FIX] point_of_sale: fix report total paid amount

Current behavior:
When we print the sales details report, we get an error popup

Steps to reproduce:
- Setup an ePos printer
- Open PoS
- Make an order with some products and finalize it
- Click on the close session button, and print the sales details report

Total paid is set here in currency:
https://github.com/odoo/odoo/blob/f8f4e899b51a73b48882b2b6e33441f0e8eed477/addons/pos_daily_sales_reports/models/pos_daily_sales_reports.py#L204

opw-3702011

closes odoo/odoo#151753

Signed-off-by: Joseph Caburnay (jcb) <jcb@odoo.com>
This commit is contained in:
roen-odoo
2024-01-31 06:59:15 +00:00
parent 133356da4c
commit dd84bc70a7
@@ -97,7 +97,7 @@
<div>
Total:
<span t-esc="formatCurrency(total_paid, false)" class="pos-receipt-right-align"/>
<span t-esc="formatCurrency(currency.total_paid, false)" class="pos-receipt-right-align"/>
</div>
<br/>