ee33593351
The product price unit should be rounded before being used in any operation. The PoS calls the method `read` in order to get the necessary fields. However, the product price is a non-stored calculated float. In old API, such a field is not rounded by the `read` method. It means that a product price of 28.067 (for example thanks to the use of a pricelist) will be rounded to 28.07 at the server level but not rounded in the PoS JS layer. To lower the impact of the fix, the rounding is done at the JS level, and not in the `_product_price` method. opw-669024 |
||
---|---|---|
.. | ||
db.js | ||
devices.js | ||
main.js | ||
models.js | ||
screens.js | ||
tests.js | ||
widget_base.js | ||
widget_keyboard.js | ||
widgets.js |