Files
odoo_source/addons/payment_sips
Nicolas Martinelli c2cd71f576 [FIX] payment_sips: rounding error
- Activate SIPS
- Make a payment of 263.90 on the eCommerce

The SO is not confirmed because there is 0.01 of difference.

This is due to the fact that 263.90 * 100 = 26389.9999...

Using `round` instead of `int` prevents truncating the value.

opw-2179123

closes odoo/odoo#48169

X-original-commit: 60f9cea444df37e685b7f4312c9ff28c395822b3
Signed-off-by: Nicolas Martinelli (nim) <nim@odoo.com>
2020-03-23 10:11:08 +00:00
..
…
…
2020-03-23 10:11:08 +00:00