From a3fbc61638b5a877bac1c235c063710da1cbd77b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thibault=20Delavall=C3=A9e?= Date: Tue, 28 Aug 2012 16:37:54 +0200 Subject: [PATCH] [FIX] mail_message: fixed a typo. bzr revid: tde@openerp.com-20120828143754-206i4tg4u8ochmpx --- addons/mail/mail_message.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addons/mail/mail_message.py b/addons/mail/mail_message.py index 3927ba639aa..5430e9b352c 100644 --- a/addons/mail/mail_message.py +++ b/addons/mail/mail_message.py @@ -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, [