[FIX] mailgateway: author of incoming emails are not put into the recipients anymore.
bzr revid: tde@openerp.com-20130213095942-gwmt2mmthrthca5n
This commit is contained in:
parent
ead19a73b2
commit
c9e710b5b4
|
@ -773,7 +773,7 @@ class mail_thread(osv.AbstractModel):
|
|||
msg_dict['author_id'] = author_ids[0]
|
||||
else:
|
||||
msg_dict['email_from'] = message.get('from')
|
||||
partner_ids = self._message_find_partners(cr, uid, message, ['From', 'To', 'Cc'], context=context)
|
||||
partner_ids = self._message_find_partners(cr, uid, message, ['To', 'Cc'], context=context)
|
||||
msg_dict['partner_ids'] = [(4, partner_id) for partner_id in partner_ids]
|
||||
|
||||
if 'Date' in message:
|
||||
|
|
Loading…
Reference in New Issue