summaryrefslogtreecommitdiff
path: root/addons/web/static/src/js/views/basic/basic_model.js
diff options
context:
space:
mode:
authorWilliam Henrotin <whe@odoo.com>2018-10-15 13:20:52 +0000
committerWilliam Henrotin <whe@odoo.com>2018-10-15 13:20:52 +0000
commit939b022ebf222dac8a921b43a1f5fbb1293052d2 (patch)
treec28d87b933196098e021a85e7bd903f8dcaa154b /addons/web/static/src/js/views/basic/basic_model.js
parent900db95457f94853de3b651b61f2db794747071b (diff)
[FIX] mrp: done workorder on multiple reserved move lines
Producing a manufacturing order on components with more than one unit could leads to multiple move line reserved on this component. Marking the workorder as done, in that case, will trigger an error saying "Cannot set the done quantity from this stock move, work directly with the move lines". Instead of setting the quantity done directly, this commit uses the magical function _set_quantity_done() that manage the case of more than one move lines. OPW-1888780 closes odoo/odoo#27773
Diffstat (limited to 'addons/web/static/src/js/views/basic/basic_model.js')
0 files changed, 0 insertions, 0 deletions