Skip to content

Commit 4fa3041

Browse files
committed
Merge PR #2235 into 16.0
Signed-off-by pedrobaeza
2 parents be1d923 + 8672528 commit 4fa3041

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

stock_move_location/wizard/stock_move_location.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -285,6 +285,10 @@ def action_move_location(self):
285285
picking = self._create_picking()
286286
else:
287287
picking = self.picking_id
288+
# Prevent putaway rules to be excuted when we don't need to
289+
picking = picking.with_context(
290+
avoid_putaway_rules=not self.apply_putaway_strategy
291+
)
288292
self._create_moves(picking)
289293
if not self.env.context.get("planned"):
290294
moves_to_reassign = self._unreserve_moves()

0 commit comments

Comments
 (0)