diff options
| author | Nicolas Martinelli <nim@odoo.com> | 2018-10-08 13:16:51 +0000 |
|---|---|---|
| committer | Nicolas Martinelli <nim@odoo.com> | 2018-10-08 13:16:51 +0000 |
| commit | a4e46846d73ea042731eecdb47322c206968a32e (patch) | |
| tree | 3233dad66c1f6558c9c5cfcc5cac520e965f0f16 /addons/web/static/tests/fields | |
| parent | 1b5f14713b11b88b259709cdf0265032bcacfcba (diff) | |
[FIX] point_of_sale: float comparison
- Create the following pricelist for product A:
4 Units: 2.88
3 Units: 3.45
2 Units: 4.85
1 Units: 7.50
- In the POS, click several time on A to add in the cart
The 2 first units are merged in a single line, but from the third one a
new line is created.
This is because of the float reproesentation of 4.85, which becomes
4.8500000000000005.
opw-1887586
closes odoo/odoo#27539
Diffstat (limited to 'addons/web/static/tests/fields')
0 files changed, 0 insertions, 0 deletions
