Browse Source

publish muk_utils - 12.0

pull/9/head
MuK IT GmbH 6 years ago
parent
commit
544aa43884
  1. 2
      muk_utils/__manifest__.py
  2. 3
      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.21',
"version": '12.0.1.1.22',
"category": 'Extra Tools',
"license": "AGPL-3",
"author": "MuK IT",

3
muk_utils/models/mixins_hierarchy.py

@ -100,6 +100,7 @@ class Hierarchy(models.AbstractModel):
res = super(Hierarchy, self).write(vals)
if self._rec_name_fallback() in vals:
domain = [('id', 'child_of', self.ids)]
self.search(domain).modified(['parent_path'])
records = self.sudo().search(domain)
records.modified(['parent_path'])
return res
Loading…
Cancel
Save