Browse Source

publish muk_utils - 11.0

pull/25/head
MuK IT GmbH 5 years ago
parent
commit
faccee39dc
  1. 2
      muk_utils/models/res_groups.py

2
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(vals)
result = super(ResGroups, self).unlink()
for tuple in model_recs.items():
tuple[1].trigger_computation(['users'])
return result
Loading…
Cancel
Save