[FIX] Wrong var name

bzr revid: tde@openerp.com-20120402090122-3blvpf9eudy6e154
This commit is contained in:
Thibault Delavallée 2012-04-02 11:01:22 +02:00
parent 87fd9521dd
commit b2f5e9fac0
1 changed files with 1 additions and 1 deletions

View File

@ -97,7 +97,7 @@ class ir_needaction(osv.osv):
context = {}
needact_obj = self.pool.get('ir.needaction_users_rel')
needact_ids = needact_obj.search(cr, uid, [('res_model', '=', self._name), ('res_id', 'in', ids)], context=context)
return needact_obj.read(cr, uid, cur_needact_ids, context=context)
return needact_obj.read(cr, uid, needact_ids, context=context)
def _link_users(self, cr, uid, ids, user_ids, context=None):
"""Given ids of model self._name, add user_ids to the relationship table"""