diff options
| author | Simon Lejeune <sle@openerp.com> | 2018-01-24 11:05:10 +0100 |
|---|---|---|
| committer | Simon Lejeune <sle@openerp.com> | 2018-01-24 11:05:10 +0100 |
| commit | 2bdbe40414083f4207218c4fa354a6c9cc108814 (patch) | |
| tree | 9be5eb976867276a712c9b562498e80807951841 /addons/web/static/src/js/views/basic/basic_model.js | |
| parent | 2d3ecf29b3c089126d04978e512b16d0cd2ec585 (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/src/js/views/basic/basic_model.js')
0 files changed, 0 insertions, 0 deletions
