Browse Source

publish muk_utils - 12.0

pull/9/head
MuK IT GmbH 6 years ago
parent
commit
bafebb8770
  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.4.9',
"version": '12.0.1.4.10',
"category": 'Extra Tools',
"license": "AGPL-3",
"author": "MuK IT",

2
muk_utils/models/mixins_hierarchy.py

@ -99,7 +99,7 @@ class Hierarchy(models.AbstractModel):
@api.multi
def write(self, vals):
if self._rec_name_fallback() in vals:
if self._parent_path_store and self._rec_name_fallback() in vals:
with self.env.norecompute():
res = super(Hierarchy, self).write(vals)
domain = [('id', 'child_of', self.ids)]

Loading…
Cancel
Save