Browse Source

publish muk_utils - 12.0

pull/9/head
MuK IT GmbH 6 years ago
parent
commit
72a64afb7c
  1. 2
      muk_utils/models/mixins_hierarchy.py

2
muk_utils/models/mixins_hierarchy.py

@ -75,7 +75,7 @@ class Hierarchy(models.AbstractModel):
@api.model
def _search_parent_path_names(self, operator, operand):
domain = []
for value in operand.split('/')
for value in operand.split('/'):
args = [(self._rec_name_fallback(), operator, value)]
domain = expression.OR(args, domain) if domain else args
return domain

Loading…
Cancel
Save