[FIX] get_needaction_user_ids: returns a list, not a set.
bzr revid: tde@openerp.com-20120702145727-8ks8ss0i9lecnj82
This commit is contained in:
@@ -149,7 +149,7 @@ class ir_needaction_mixin(osv.Model):
|
||||
""" Returns the user_ids that have to perform an action
|
||||
:return: dict { record_id: [user_ids], }
|
||||
"""
|
||||
return dict((id,set()) for id in ids)
|
||||
return dict((id,list()) for id in ids)
|
||||
|
||||
def create(self, cr, uid, values, context=None):
|
||||
rel_obj = self.pool.get('ir.needaction_users_rel')
|
||||
|
||||
Reference in New Issue
Block a user