1、优化刀具拆解单拆解时生成的调拨单单据验证出现数据缺失问题
This commit is contained in:
@@ -1103,7 +1103,7 @@ class StockMove(models.Model):
|
||||
move_line_ids = picking_id.move_line_ids
|
||||
for move_line_id in move_line_ids:
|
||||
for res in data:
|
||||
if move_line_id.lot_id.product_id == res['lot_id'].product_id:
|
||||
if move_line_id.product_id == res['lot_id'].product_id:
|
||||
move_line_id.write({
|
||||
'destination_location_id': res.get('destination').id,
|
||||
'lot_id': res.get('lot_id').id
|
||||
|
||||
Reference in New Issue
Block a user