Mathias Markl
6 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
2 additions and
2 deletions
-
muk_utils/models/res_groups.py
|
@ -62,7 +62,7 @@ class ResGroups(models.Model): |
|
|
model = self.env[model_name].sudo() |
|
|
model = self.env[model_name].sudo() |
|
|
if not model._abstract: |
|
|
if not model._abstract: |
|
|
model_recs[model_name] = model.search([['groups', 'in', self.mapped('id')]]) |
|
|
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(): |
|
|
for tuple in model_recs.items(): |
|
|
tuple[1].trigger_computation(['users']) |
|
|
tuple[1].trigger_computation(['users']) |
|
|
return result |
|
|
return result |