Browse Source

[FIX] browse and search groups with superuser permissions

pull/113/head
Holger Brunn 10 years ago
parent
commit
254f5a1ef6
  1. 4
      auth_dynamic_groups/model/res_users.py

4
auth_dynamic_groups/model/res_users.py

@ -46,8 +46,8 @@ class res_users(Model):
if dynamic_group.eval_dynamic_group_condition()
else (3, dynamic_group.id)
for dynamic_group in groups_obj.browse(
cr, uid,
groups_obj.search(cr, uid,
cr, SUPERUSER_ID,
groups_obj.search(cr, SUPERUSER_ID,
[('is_dynamic', '=', True)]))
],
})

Loading…
Cancel
Save