Skip to content

Commit

Permalink
fixup! Add shopfloor_shopinvader_base
Browse files Browse the repository at this point in the history
  • Loading branch information
simahawk committed Jan 28, 2022
1 parent 6470765 commit 7baf1f0
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions shopfloor_shopinvader_base/services/product.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,9 @@ def get(self, _id):
def search(self, **params):
return self._paginate_search(**params)

def _get_base_search_domain(self):
return [("backend_id", "=", self.shopinvader_backend.id)]

# The following method are 'private' and should be never never NEVER call
# from the controller.
# All params are trusted as they have been checked before
Expand Down

0 comments on commit 7baf1f0

Please sign in to comment.