Browse Source

publish muk_utils - 11.0

pull/25/head
MuK IT GmbH 6 years ago
parent
commit
b26bbad1be
  1. 2
      muk_utils/__manifest__.py
  2. 4
      muk_utils/models/res_groups.py

2
muk_utils/__manifest__.py

@ -45,7 +45,7 @@
"python": [],
"bin": [],
},
"auto_install": True,
"auto_install": False,
"application": False,
"installable": True,
}

4
muk_utils/models/res_groups.py

@ -62,7 +62,7 @@ class ResGroups(models.Model):
model = self.env[model_name].sudo()
if not model._abstract:
model_recs[model_name] = model.search([['groups', 'in', self.mapped('id')]])
result = super(ResGroups, self).unlink()
result = super(ResGroups, self).unlink(vals)
for tuple in model_recs.items():
tuple[1].trigger_computation(['users'])
return result
return result
Loading…
Cancel
Save