Skip to content

Commit

Permalink
[IMP] stock_picking_operation_quick_change: Allow change location to …
Browse files Browse the repository at this point in the history
…moves with other chained moves
  • Loading branch information
sergio-teruel authored and florian-dacosta committed Oct 30, 2024
1 parent a6ab78c commit d66330c
Showing 1 changed file with 0 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -88,16 +88,6 @@ def check_allowed_pickings(self, pickings):
)
% ",".join(self._get_allowed_picking_states())
)
pickings_with_chained_moves = pickings.filtered(
lambda x: x.move_ids.move_dest_ids
)
if pickings_with_chained_moves:
raise UserError(
_(
"You cannot change destination location if any of the moves "
"has a destination move."
)
)

def action_apply(self):
stock_picking_obj = self.env["stock.picking"]
Expand Down

0 comments on commit d66330c

Please sign in to comment.