[FIX] for view field, thinking about QuerySet...
bzr revid: al@openerp.com-20110805205007-12lvaks9y4y6827p
This commit is contained in:
parent
bd21085af2
commit
6ecb84d303
|
@ -593,6 +593,8 @@ class users_implied(osv.osv):
|
|||
return user_id
|
||||
|
||||
def write(self, cr, uid, ids, values, context=None):
|
||||
if not isinstance(ids,list):
|
||||
ids = [ids]
|
||||
res = super(users_implied, self).write(cr, uid, ids, values, context)
|
||||
if values.get('groups_id'):
|
||||
# add implied groups for all users
|
||||
|
|
Loading…
Reference in New Issue