Skip to content

Commit

Permalink
Merge PR #58 into 14.0
Browse files Browse the repository at this point in the history
Signed-off-by andhit-r
  • Loading branch information
ssi-bot committed Jul 24, 2024
2 parents cfd2e3b + 7ba371c commit c7c5c0f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ssi_stock/models/stock_move_line.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ def _action_cancel_done(self):
limit=1,
)
)
if last_move_line_id:
if last_move_line_id and not self.env.context.get("bypass_check", False):
raise ValidationError(
_(
f"Please cancel transfer {last_move_line_id.picking_id.name} first."
Expand Down

0 comments on commit c7c5c0f

Please sign in to comment.