[FIX] mail_mail: reply_to: use tools.email_split to avoid issues when handling email addresses.

bzr revid: tde@openerp.com-20130606151440-atdhk834ny248xqq
This commit is contained in:
Thibault Delavallée 2013-06-06 17:14:40 +02:00
parent a1e942c0de
commit 1ef65f1577
1 changed files with 1 additions and 1 deletions

View File

@ -96,7 +96,7 @@ class mail_mail(osv.Model):
email_from = values.get('email_from')
if values.get('mail_message_id') and (not model or not res_id):
message = self.pool.get('mail.message').browse(cr, uid, values.get('mail_message_id'), context=context)
email_reply_to = message.reply_to
email_reply_to = tools.email_split(message.reply_to)
if not model:
model = message.model
if not res_id: