[Fix] mail_gateway: set the correct email address of user
bzr revid: sbh@tinyerp.com-20110616133112-npcfc87nonicvpcb
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user