summaryrefslogtreecommitdiff
path: root/doc/reference/javascript_reference.rst
diff options
context:
space:
mode:
authorNicolas Martinelli <nim@odoo.com>2018-06-01 10:47:16 +0200
committerNicolas Martinelli <nim-odoo@users.noreply.github.com>2018-06-04 08:32:39 +0200
commit8dbaaf896e060725307c3eaedbc5d99af7d78a4e (patch)
tree519a8d3993fbaf1ace770981cc9cf7fdb67ff864 /doc/reference/javascript_reference.rst
parent395459d077d4506a41af8b0f43950766ee8ae240 (diff)
[FIX] stock: assign move
- Create a BOM for Product A, using Component B 1 Unit of a is built with 1 Unit of B - Update on hand quantity for B to 3.0 - Create a MO for 5 Units of A - Update the quantity to produce to 3.0 The button 'Check Availability' never disappears. The core of the problem is that the move remains "Partially Available". Indeed, if there is no product available (`available_quantity <= 0`), the stock move is skipped and its availability status is not updated. We slightly change the logic by first checking if we need any quantity. If not, the move can be considered as assigned. opw-1850499
Diffstat (limited to 'doc/reference/javascript_reference.rst')
0 files changed, 0 insertions, 0 deletions