mirror of
https://github.com/OCA/stock-logistics-warehouse.git
synced 2025-01-21 14:27:28 +02:00
fixup! fixup! fixup! 12.0 create module stock move location dest constraint base
This commit is contained in:
@@ -28,7 +28,9 @@ class FixedPutAwayStrategy(models.Model):
|
||||
filtered_putaways = self.browse()
|
||||
for put in putaway_strats:
|
||||
try:
|
||||
put.location_id.check_move_dest_constraint(product=product)
|
||||
put.fixed_location_id.check_move_dest_constraint(
|
||||
product=product
|
||||
)
|
||||
except ValidationError:
|
||||
continue
|
||||
filtered_putaways |= put
|
||||
|
||||
Reference in New Issue
Block a user