[FIX]: Fixed code.
bzr revid: uco@tinyerp.com-20120227120334-er27widu9xcfsty1
This commit is contained in:
@@ -86,7 +86,7 @@ class sale_configuration(osv.osv_memory):
|
||||
for id in groups:
|
||||
key_id = dataobj.search(cr, uid,[('res_id','=',id),('model','=','res.groups')],context=context)
|
||||
key = dataobj.browse(cr, uid, key_id[0], context=context).name
|
||||
applied_groups.setdefault(key,[]).append('True')
|
||||
applied_groups[key] = True
|
||||
|
||||
return applied_groups
|
||||
|
||||
|
||||
Reference in New Issue
Block a user