From 7c7be29028dbe4568e7179afc5d193adb86f4db7 Mon Sep 17 00:00:00 2001 From: Stephane Wirtel Date: Tue, 11 May 2010 12:55:36 +0200 Subject: [PATCH] [FIX] crm: Remove the duplicated Reply-To in the email from the mailgateway bzr revid: stephane@openerp.com-20100511105536-lhhfbmlnx7d3garr --- addons/crm/wizard/crm_send_email.py | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/addons/crm/wizard/crm_send_email.py b/addons/crm/wizard/crm_send_email.py index b0d20cd6e55..ae9ff8541c6 100644 --- a/addons/crm/wizard/crm_send_email.py +++ b/addons/crm/wizard/crm_send_email.py @@ -92,9 +92,10 @@ class crm_send_new_email(osv.osv_memory): email_from = data.get('email_from', False) case_pool._history(cr, uid, [case], _('Send'), history=True, email=data['email_to'], details=body, email_from=email_from, message_id=message_id) - x_headers = { - 'Reply-To':"%s" % case.section_id.reply_to, - } + x_headers = dict() + #x_headers = { + # 'Reply-To':"%s" % case.section_id.reply_to, + #} if message_id: x_headers['References'] = "%s" % (message_id)