diff --git a/muk_utils/__manifest__.py b/muk_utils/__manifest__.py index bd07fda..58cb639 100644 --- a/muk_utils/__manifest__.py +++ b/muk_utils/__manifest__.py @@ -19,7 +19,7 @@ { "name": "MuK Utils", "summary": """Utility Features""", - "version": '12.0.1.4.5', + "version": '12.0.1.4.6', "category": 'Extra Tools', "license": "AGPL-3", "author": "MuK IT", diff --git a/muk_utils/models/mixins_hierarchy.py b/muk_utils/models/mixins_hierarchy.py index 4eeea63..0921c32 100644 --- a/muk_utils/models/mixins_hierarchy.py +++ b/muk_utils/models/mixins_hierarchy.py @@ -83,7 +83,7 @@ class Hierarchy(models.AbstractModel): path_json.append({ 'model': record._name, 'name': data[id], - 'id': record.id, + 'id': id, }) path_names.reverse() path_json.reverse()