[FIX] Fixed var name not correct after moving code.
bzr revid: tde@openerp.com-20120815201724-6mkif7u7n0svoqu8
This commit is contained in:
parent
819d4adfa7
commit
39cc9217bf
|
@ -293,7 +293,7 @@ class mail_thread(osv.Model):
|
||||||
|
|
||||||
# get subscribers
|
# get subscribers
|
||||||
subscr_obj = self.pool.get('mail.followers')
|
subscr_obj = self.pool.get('mail.followers')
|
||||||
subscr_ids = subscr_obj.search(cr, uid, ['&', ('res_model', '=', self._name), ('res_id', 'in', ids)], context=context)
|
subscr_ids = subscr_obj.search(cr, uid, ['&', ('res_model', '=', self._name), ('res_id', 'in', thread_ids)], context=context)
|
||||||
notif_user_ids = [sub['user_id'][0] for sub in subscr_obj.read(cr, uid, subscr_ids, ['user_id'], context=context)]
|
notif_user_ids = [sub['user_id'][0] for sub in subscr_obj.read(cr, uid, subscr_ids, ['user_id'], context=context)]
|
||||||
|
|
||||||
# add users requested to perform an action (need_action mechanism)
|
# add users requested to perform an action (need_action mechanism)
|
||||||
|
|
Loading…
Reference in New Issue