diff options
| author | Christophe Simonis <chs@odoo.com> | 2015-04-20 12:33:31 +0200 |
|---|---|---|
| committer | Christophe Simonis <chs@odoo.com> | 2015-04-20 12:33:31 +0200 |
| commit | 9750c1eae31df8008100debf8bf2bb3ca2ae64e7 (patch) | |
| tree | 26b043d9def371133d6bac635c261d92b4fe4b85 /addons/mail/wizard/mail_compose_message.py | |
| parent | 06fd9e3aa31d0c6493b22b5b910cb101bf922189 (diff) | |
| parent | 44059bce4bfb11e8282a23c7b03fc4c10bdff821 (diff) | |
[MERGE] forward port of branch 8.0 up to 44059bc
Diffstat (limited to 'addons/mail/wizard/mail_compose_message.py')
| -rw-r--r-- | addons/mail/wizard/mail_compose_message.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/addons/mail/wizard/mail_compose_message.py b/addons/mail/wizard/mail_compose_message.py index 0f62ab37184..2e0823add68 100644 --- a/addons/mail/wizard/mail_compose_message.py +++ b/addons/mail/wizard/mail_compose_message.py @@ -248,6 +248,7 @@ class mail_compose_message(osv.TransientModel): if wizard.template_id: context['mail_notify_user_signature'] = False # template user_signature is added when generating body_html context['mail_auto_delete'] = wizard.template_id.auto_delete # mass mailing: use template auto_delete value -> note, for emails mass mailing only + context['mail_server_id'] = wizard.template_id.mail_server_id.id if wizard.attachment_ids and wizard.composition_mode != 'mass_mail' and wizard.template_id: new_attachment_ids = [] for attachment in wizard.attachment_ids: |
