Skip to content
Snippets Groups Projects
Commit 3086e18f authored by roen-odoo's avatar roen-odoo
Browse files

[FIX] point_of_sale: correctly round total due in payment screen


Current behavior:
When you make a purchase that should be rounded down, for example 1.97
rounded down to 1.95. On the payment screen if you select a payment
method and pay with a greater amount than the base amount. The total due
would be rounded incorrectly to 2.00 instead of 1.95.

Steps to reproduce:
- Create a product with a price of 1.97
- Set a rouding down method of 0.05
- Open a pos session
- Add the product to the order
- Select a payment method, for example cash and enter an amount greater
  than the base amount, for example 5.00
- The total due will be 2.00 instead of 1.95

opw-3175726

closes odoo/odoo#113428

Signed-off-by: default avatarHeinz Robin (rhe) <rhe@odoo.com>
parent a3c236ef
Branches
Tags
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment