diff options
| author | Christophe Simonis <chs@odoo.com> | 2016-07-25 17:17:15 +0200 |
|---|---|---|
| committer | Christophe Simonis <chs@odoo.com> | 2016-07-25 17:17:15 +0200 |
| commit | cfb0c0deadae316d9bbcae4d6d177a75f3dbbce4 (patch) | |
| tree | 961774158c47e97694ec1093f947262beaa0eef1 /addons/mail/models/mail_thread.py | |
| parent | 77d231546d252c3f83d54c18d75864a15bc09b24 (diff) | |
| parent | 7ae5121877aec43a19a447b9b9d6a37f4a5633c2 (diff) | |
[MERGE] forward port branch saas-11 up to 7ae5121
Diffstat (limited to 'addons/mail/models/mail_thread.py')
| -rw-r--r-- | addons/mail/models/mail_thread.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/addons/mail/models/mail_thread.py b/addons/mail/models/mail_thread.py index 3b49c50235b..c648f1f9afc 100644 --- a/addons/mail/models/mail_thread.py +++ b/addons/mail/models/mail_thread.py @@ -1142,6 +1142,7 @@ class MailThread(models.AbstractModel): @api.model def message_route_process(self, message, message_dict, routes): + self = self.with_context(attachments_mime_plainxml=True) # import XML attachments as text # postpone setting message_dict.partner_ids after message_post, to avoid double notifications partner_ids = message_dict.pop('partner_ids', []) thread_id = False |
