summaryrefslogtreecommitdiff
path: root/addons/web/static
diff options
context:
space:
mode:
authorjev-odoo <jev@odoo.com>2019-08-30 14:06:36 +0000
committerfw-bot <otis@odoo.com>2019-09-19 08:16:19 +0000
commit5dc389db6bc0e0cded74a49cbfb3b15371ee8aec (patch)
tree2d68bfaf0818d65d0fab12f1f44e8a4d4b678f84 /addons/web/static
parentebda1101e379e55a02beec27c453e63e2178af2d (diff)
[FIX] point_of_sale: use currency precision to test if orders are paid
The test was made with an epsilon of 0.00001, which is precise enough to avoid false positives, but allowing false negatives. As a results, some orders can be incorrectly determined unpaid. No (non-digital) currency has a precision higher than 0.00001, but many currencies have a precision much lower (e.g the unit for ¥). Also, we prepare for the future where all orders will be paid in Bitcoin. opw 2059997 closes odoo/odoo#37112 X-original-commit: 73c2d46f4a443885fbf67879141ac892efebe3c7 Signed-off-by: Nans Lefebvre (len) <len@odoo.com>
Diffstat (limited to 'addons/web/static')
0 files changed, 0 insertions, 0 deletions