[FIX] mail_message: fixed a typo.

bzr revid: tde@openerp.com-20120828143754-206i4tg4u8ochmpx
This commit is contained in:
Thibault Delavallée
2012-08-28 16:37:54 +02:00
parent c791b22a8c
commit a3fbc61638
+1 -1
View File
@@ -64,7 +64,7 @@ class mail_message(osv.Model):
def _get_unread(self, cr, uid, ids, name, arg, context=None):
""" Compute if the message is unread by the current user. """
res = dict.fromkeys(id, False)
res = dict.fromkeys(ids, False)
partner_id = self.pool.get('res.users').browse(cr, uid, uid, context=context).partner_id.id
notif_obj = self.pool.get('mail.notification')
notif_ids = notif_obj.search(cr, uid, [