diff options
| author | Simon Lejeune <sle@openerp.com> | 2017-12-28 13:17:19 +0100 |
|---|---|---|
| committer | Simon Lejeune <sle@openerp.com> | 2017-12-28 15:30:13 +0100 |
| commit | 7862ce4d5d0b52eb4ec172bfaed2c296182dfc7f (patch) | |
| tree | a5bb0ab1d92667a91261d7f3d79065c331661fe2 /addons/web/static | |
| parent | 091c86c21bdebe4592fb64ba0f0a589a25b93a27 (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')
0 files changed, 0 insertions, 0 deletions
