odoo/addons/point_of_sale/static/src/js
Nicolas Martinelli ee33593351 [FIX] point_of_sale: round price unit
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
2016-02-23 14:38:09 +01:00
..
db.js [FIX] point_of_sale: correctly split workds in product search 2015-06-26 08:51:25 +02:00
devices.js [FIX] point_of_sale: scale debug was not working with an unplugged scale 2015-01-27 10:58:58 +01:00
main.js [IMP] point_of_sale: forgot changes in this file in the previous commit that introduced unit tests 2014-08-05 14:07:58 +02:00
models.js [FIX] point_of_sale: round price unit 2016-02-23 14:38:09 +01:00
screens.js [FIX] point_of_sale: make uploading partner images work in Firefox 2015-12-24 09:02:34 +01:00
tests.js [IMP] point_of_sale: add a basic UI unit test based on the new 'Tour' module 2014-08-05 14:07:41 +02:00
widget_base.js [FIX] point_of_sale: precision 2015-06-11 08:45:17 +02:00
widget_keyboard.js [FIX] point_of_sale: onscreen keyboard working again 2013-12-16 19:20:59 +01:00
widgets.js [FIX] point_of_sale: don't read for barcode when search focused 2015-09-09 12:10:59 +02:00