Skip to content

Commit

Permalink
Fix method name
Browse files Browse the repository at this point in the history
  • Loading branch information
guewen committed Sep 13, 2019
1 parent f35bd97 commit d13fecc
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,9 @@ def _set_bypass_on_existing_locations(self):
existing_locations = self.search([])
existing_locations.write({'bypass_constraints': True})

def _get_putaway_strategy(self, product):
def get_putaway_strategy(self, product):
"""Activate constraint when looking for putaway rules"""
self = self.with_context(
_filter_on_constraints=True, _constraint_product=product.id
)
return super()._get_putaway_strategy(product)
return super().get_putaway_strategy(product)

0 comments on commit d13fecc

Please sign in to comment.