summaryrefslogtreecommitdiff
path: root/addons/mail/static/src/js/basic_model.js
diff options
context:
space:
mode:
authorSimon Lejeune <sle@openerp.com>2017-11-17 11:10:28 +0100
committerSimon Lejeune <sle@openerp.com>2017-11-17 13:32:04 +0100
commit49c3f643696ad0e0634755d10064d229a01bec2c (patch)
tree3a38ca0db0b8553d0adb702fc2d91cde342f20be /addons/mail/static/src/js/basic_model.js
parent179071bb5073cccacbeb55412f8b5f6a38f737de (diff)
[FIX] mrp: workorder: use the reserved move lines
Rev [1] was intended to be applied when changing the lot of the produced product on the manufacturing order, somewhere along the line the code was also called when setting the lot_id on the work order. When used in this context, it broke the reconciliation between the reserved move lines and the temporary move lines because a lot_produced_id was wrongly set. We fix the issue by only applying the code on prod move. This is done by checking if the move is a production one through the stock move, because there we are able to differenciate the raw material and production move, not on the move line where production_id is always set. [1] 471115b06ad4a8774a147267e4cfa845f3d1218b Fixes #20964
Diffstat (limited to 'addons/mail/static/src/js/basic_model.js')
0 files changed, 0 insertions, 0 deletions