From 72a64afb7cecf108ce5530e2d48d34193a2e19a3 Mon Sep 17 00:00:00 2001 From: MuK IT GmbH Date: Tue, 15 Jan 2019 11:09:08 +0000 Subject: [PATCH] publish muk_utils - 12.0 --- muk_utils/models/mixins_hierarchy.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/muk_utils/models/mixins_hierarchy.py b/muk_utils/models/mixins_hierarchy.py index 5da90d6..b3e68c0 100644 --- a/muk_utils/models/mixins_hierarchy.py +++ b/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