[FIX] stock: return picking, pass serial number value when returning
This commit is contained in:
parent
386174cf0e
commit
8c39241651
|
@ -206,6 +206,7 @@ class stock_return_picking(osv.osv_memory):
|
||||||
'location_id': new_location,
|
'location_id': new_location,
|
||||||
'location_dest_id': move.location_id.id,
|
'location_dest_id': move.location_id.id,
|
||||||
'date': date_cur,
|
'date': date_cur,
|
||||||
|
'prodlot_id': data_get.prodlot_id.id,
|
||||||
})
|
})
|
||||||
move_obj.write(cr, uid, [move.id], {'move_history_ids2':[(4,new_move)]}, context=context)
|
move_obj.write(cr, uid, [move.id], {'move_history_ids2':[(4,new_move)]}, context=context)
|
||||||
if not returned_lines:
|
if not returned_lines:
|
||||||
|
|
Loading…
Reference in New Issue