From fd84a4dec44f46da0d4b786be041087196e0df2e Mon Sep 17 00:00:00 2001 From: Chris Biersbach Date: Wed, 27 Mar 2013 12:25:17 +0100 Subject: [PATCH] [FIX] the functionality to save the original mail fetched by the fetchmail module now correctly works bzr revid: cbi@openerp.com-20130327112517-evcxdkedguka6y8a --- addons/mail/mail_thread.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addons/mail/mail_thread.py b/addons/mail/mail_thread.py index fb13ca2034d..5bdd7b93870 100644 --- a/addons/mail/mail_thread.py +++ b/addons/mail/mail_thread.py @@ -828,7 +828,7 @@ class mail_thread(osv.AbstractModel): if parent_ids: msg_dict['parent_id'] = parent_ids[0] - msg_dict['body'], msg_dict['attachments'] = self._message_extract_payload(message) + msg_dict['body'], msg_dict['attachments'] = self._message_extract_payload(message, save_original=save_original) return msg_dict #------------------------------------------------------