summaryrefslogtreecommitdiff
path: root/addons/web/static/src/js/views/basic/basic_model.js
diff options
context:
space:
mode:
authoramoyaux <arm@odoo.com>2017-09-29 16:13:14 +0200
committeramoyaux <arm@odoo.com>2017-09-29 16:55:43 +0200
commit7c501e4bf05a14788a5ea5361b0628510873ce70 (patch)
tree1014077ad1612776ab24fb0ac7e66c660e0acac3 /addons/web/static/src/js/views/basic/basic_model.js
parent7dfcbc6b967a7f9933e0f28b6598f21571e765a0 (diff)
[FIX] mrp: product produce line fail with consumed SN
Use case to reproduce: - Create a product with a BOM needing one component tracked by SN - Create a MO for this product with 2 to produce - Produce 1 - Produce the other -> 2 lines and a wrong lot proposed This happens when the quantity to consume is equal to 0 or if the qty_done on a move_line is equal to the reserved quantity. This commit change the condition after the float_compare in order to take into account the equal comparison.
Diffstat (limited to 'addons/web/static/src/js/views/basic/basic_model.js')
0 files changed, 0 insertions, 0 deletions