summaryrefslogtreecommitdiff
path: root/addons/web/static/src/js/fields/field_utils.js
diff options
context:
space:
mode:
authorSimon Lejeune <sle@openerp.com>2017-12-28 13:17:19 +0100
committerSimon Lejeune <sle@openerp.com>2017-12-28 15:30:13 +0100
commit7862ce4d5d0b52eb4ec172bfaed2c296182dfc7f (patch)
treea5bb0ab1d92667a91261d7f3d79065c331661fe2 /addons/web/static/src/js/fields/field_utils.js
parent091c86c21bdebe4592fb64ba0f0a589a25b93a27 (diff)
[FIX] mrp: mo: state and optional bom line
Optional bom line havea default `product_qty` of 0. As the "check availability" button is displayed if the MO is not available and the `_compute_availability` method considers all move of 0 `product_qty` as unassiged, the "check availability" button was always displayed and it was confusing. Do not consider move with a 0 product_qty in the `_compute_availability` method to fix the display of the button.
Diffstat (limited to 'addons/web/static/src/js/fields/field_utils.js')
0 files changed, 0 insertions, 0 deletions