Skip to content

Commit

Permalink
[FIX] point_of_sale: fix report total paid amount
Browse files Browse the repository at this point in the history
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#151753

Signed-off-by: Joseph Caburnay (jcb) <jcb@odoo.com>
  • Loading branch information
robinengels committed Jan 31, 2024
1 parent 133356d commit dd84bc7
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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/>
Expand Down

0 comments on commit dd84bc7

Please sign in to comment.