From 710da4bf80914da83632245f07fc9897d9d07d71 Mon Sep 17 00:00:00 2001 From: Holger Brunn Date: Wed, 24 Feb 2016 09:42:26 +0100 Subject: [PATCH] [FIX] we need to call our login method old style --- auth_dynamic_groups/model/res_groups.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/auth_dynamic_groups/model/res_groups.py b/auth_dynamic_groups/model/res_groups.py index d528da80a..59b6fa6a4 100644 --- a/auth_dynamic_groups/model/res_groups.py +++ b/auth_dynamic_groups/model/res_groups.py @@ -60,4 +60,4 @@ class res_groups(models.Model): def action_evaluate(self): res_users = self.env['res.users'] for user in res_users.search([]): - res_users.update_dynamic_groups(user.id, self.env.cr.dbname) + res_users._model.update_dynamic_groups(user.id, self.env.cr.dbname)