Browse Source

publish muk_utils - 12.0

pull/9/head
MuK IT GmbH 6 years ago
parent
commit
5d48733e1b
  1. 2
      muk_utils/__manifest__.py
  2. 2
      muk_utils/models/mixins_hierarchy.py

2
muk_utils/__manifest__.py

@ -19,7 +19,7 @@
{
"name": "MuK Utils",
"summary": """Utility Features""",
"version": '12.0.1.1.18',
"version": '12.0.1.1.19',
"category": 'Extra Tools',
"license": "AGPL-3",
"author": "MuK IT",

2
muk_utils/models/mixins_hierarchy.py

@ -73,7 +73,7 @@ class Hierarchy(models.AbstractModel):
ids = set(functools.reduce(operator.concat, paths))
data = dict(self.browse(ids).name_get())
for record in self:
path_names = []
path_names = [""]
path_json = []
for id in reversed(list(map(int, record.parent_path.split('/')[:-1]))):
if id not in data:

Loading…
Cancel
Save