[FIX] point_of_sale : wrong currency decimals
To have the same behavior as `_compute_decimal_places` in python When setting rounding of currency > 10, POS will get negative decimals instead value 0 and crash Closes #22199
This commit is contained in:
committed by
Martin Trigaux
parent
c07f78db17
commit
00a10fdd00
@@ -0,0 +1,11 @@
|
||||
Vietnam, 2018.01.17
|
||||
|
||||
I hereby agree to the terms of the Odoo Individual Contributor License
|
||||
Agreement v1.0.
|
||||
|
||||
I declare that I am authorized and able to make this agreement and sign this
|
||||
declaration.
|
||||
|
||||
Signed,
|
||||
|
||||
Nguyen Phuc <phucngta@gmail.com> https://github.com/phucngta
|
||||
Reference in New Issue
Block a user