odoo/addons/point_of_sale/static
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
..
description [FIX] point_of_sale: remove references to self-checkout in docs 2016-01-11 15:04:23 +01:00
img [IMP] point_of_sale: contributing partners demo data. 2015-06-16 12:52:02 +02:00
lib [FIX] point_of_sale: the receipt would not print correctly on first try 2014-08-19 17:15:14 +02:00
src [FIX] point_of_sale: round price unit 2016-02-23 14:38:09 +01:00