summaryrefslogtreecommitdiff
path: root/addons/web/static/tests/fields/basic_fields_tests.js
diff options
context:
space:
mode:
authorSimon Lejeune <sle@openerp.com>2018-01-24 11:05:10 +0100
committerSimon Lejeune <sle@openerp.com>2018-01-24 11:05:10 +0100
commit2bdbe40414083f4207218c4fa354a6c9cc108814 (patch)
tree9be5eb976867276a712c9b562498e80807951841 /addons/web/static/tests/fields/basic_fields_tests.js
parent2d3ecf29b3c089126d04978e512b16d0cd2ec585 (diff)
[FIX] stock: scrap: constrain on product_uom_qty
`precision_get` return digits, so use `precision_digits` in the call to `float_is_zero`. steps to reproduce: - set the digits of product unit of measures to 0 - try to scrap something - it'll fail because the default value of product_uom_qty is "0.0"
Diffstat (limited to 'addons/web/static/tests/fields/basic_fields_tests.js')
0 files changed, 0 insertions, 0 deletions