diff options
| author | Chris Biersbach <cbi@openerp.com> | 2013-03-27 13:15:46 +0100 |
|---|---|---|
| committer | Chris Biersbach <cbi@openerp.com> | 2013-03-27 13:15:46 +0100 |
| commit | e985ddea30b93deaedb443c3291cd2c8620ac52a (patch) | |
| tree | 86e8ec6523079fd7943e6f52d6ddf256dc909a74 | |
| parent | 555b2cbd2617465ef474906a3b20e7d602cf1863 (diff) | |
| parent | fd84a4dec44f46da0d4b786be041087196e0df2e (diff) | |
[MERGE] fetchmail: The save_original parameter was not correctly apssed around, causing the original email to not be saved even if it was configured to be saved. This restores this functionality.
bzr revid: cbi@openerp.com-20130327121546-xcrmhn8i3rtyzx6p
| -rw-r--r-- | addons/mail/mail_thread.py | 2 |
1 files changed, 1 insertions, 1 deletions
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 #------------------------------------------------------ |
