From 96c0023bbd68ceb47e5f783796235b4762945fbd Mon Sep 17 00:00:00 2001 From: "Bhumika (OpenERP)" Date: Thu, 16 Jun 2011 19:01:12 +0530 Subject: [PATCH] [Fix] mail_gateway: set the correct email address of user bzr revid: sbh@tinyerp.com-20110616133112-npcfc87nonicvpcb --- addons/mail_gateway/mail_gateway.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addons/mail_gateway/mail_gateway.py b/addons/mail_gateway/mail_gateway.py index c67a2668192..f60e26fe331 100644 --- a/addons/mail_gateway/mail_gateway.py +++ b/addons/mail_gateway/mail_gateway.py @@ -80,7 +80,7 @@ class mailgate_thread(osv.osv): for thread in self.browse(cr, uid, ids, context=context): l=[] for message in thread.message_ids: - l.append((message.user_id and message.user_id.email) or '') + l.append((message.user_id and message.user_id.user_email) or '') l.append(message.email_from or '') l.append(message.email_cc or '') res[thread.id] = l