From 2390ce41d7f3e52e0448710e86574f198e557501 Mon Sep 17 00:00:00 2001 From: Mathias Markl Date: Tue, 9 Oct 2018 12:15:43 +0200 Subject: [PATCH] Update res_groups.py --- muk_utils/models/res_groups.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/muk_utils/models/res_groups.py b/muk_utils/models/res_groups.py index 32298ac..e539a94 100644 --- a/muk_utils/models/res_groups.py +++ b/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 \ No newline at end of file + return result