|
@ -59,5 +59,4 @@ class res_groups(models.Model): |
|
|
def action_evaluate(self): |
|
|
def action_evaluate(self): |
|
|
res_users = self.env['res.users'] |
|
|
res_users = self.env['res.users'] |
|
|
for user in res_users.search([]): |
|
|
for user in res_users.search([]): |
|
|
res_users.sudo(user=user.id).update_dynamic_groups( |
|
|
|
|
|
user.id, self.env.cr.dbname) |
|
|
|
|
|
|
|
|
res_users.update_dynamic_groups(user.id, self.env.cr.dbname) |