Skip to content

Commit

Permalink
[FIX]stock_picking_return_lot: handle list ValueError
Browse files Browse the repository at this point in the history
  • Loading branch information
PicchiSeba committed Aug 22, 2024
1 parent 0096521 commit b8fc419
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion stock_picking_return_lot/wizard/stock_picking_return.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,5 +27,6 @@ def _create_returns(self):
)
if ml and not ml.lot_id and (ml.product_uom_qty == line.qty_done):
ml.lot_id = line.lot_id
ml_ids_to_update.remove(ml.id)
if ml.id in ml_ids_to_update:
ml_ids_to_update.remove(ml.id)
return res

0 comments on commit b8fc419

Please sign in to comment.