diff --git a/muk_utils/__manifest__.py b/muk_utils/__manifest__.py index b9ae057..264e031 100644 --- a/muk_utils/__manifest__.py +++ b/muk_utils/__manifest__.py @@ -45,7 +45,7 @@ "python": [], "bin": [], }, - "auto_install": True, + "auto_install": False, "application": False, "installable": True, } diff --git a/muk_utils/models/res_groups.py b/muk_utils/models/res_groups.py index e539a94..32298ac 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() + result = super(ResGroups, self).unlink(vals) for tuple in model_recs.items(): tuple[1].trigger_computation(['users']) - return result + return result \ No newline at end of file