Skip to content

Commit

Permalink
Merge pull request #23 from jbaudoux/16.0-shopfloor-sbj-changelot-fix1
Browse files Browse the repository at this point in the history
[FIX] shopfloor: change lot & inventory
  • Loading branch information
sbejaoui authored Jan 4, 2024
2 parents fd5a751 + cd7c5e0 commit 8cc7896
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions shopfloor/actions/change_package_lot.py
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ def _change_pack_lot_change_lot(
inventory.create_control_stock(
move_line.location_id,
move_line.product_id,
lot=move_line.lot_id,
lot=lot,
name=_("Pick: stock issue on lot: {} found in {}").format(
lot.name, move_line.location_id.name
),
Expand All @@ -110,7 +110,7 @@ def _change_pack_lot_change_lot(
previous_reserved_uom_qty,
precision_rounding=rounding,
)
< 0
!= 0
):
message["body"] += " " + _("The quantity to do has changed!")
return response_ok_func(move_line, message=message)
Expand Down

0 comments on commit 8cc7896

Please sign in to comment.