diff options
| author | Julien Castiaux <juc@odoo.com> | 2019-07-24 06:25:02 +0000 |
|---|---|---|
| committer | Julien Castiaux <juc@odoo.com> | 2019-07-24 06:25:02 +0000 |
| commit | 7273719b880cc7c57e55a3334ffe99de36b27651 (patch) | |
| tree | 5eaa6f15baaea26618861e513cbd157074d7aaa3 /addons/mail/wizard | |
| parent | c1d63fc599719ad9858cfcc6904eaeee1014ef06 (diff) | |
[FIX] mail,account: use reply_to header from tmplt
Create an invoice for a customer, send him an email from the chatter, in
the mail template set a specific "Reply to" and send the email. The
"Reply-To" template mail header is ignore and the one generated by
`mail_thread._notify_get_reply_to` is used.
See also 1c57d5e and 7b0806b
opw-2041640
closes odoo/odoo#35127
Signed-off-by: Julien Castiaux <Julien00859@users.noreply.github.com>
Diffstat (limited to 'addons/mail/wizard')
| -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 117049d52e9..8f084a55ed4 100644 --- a/addons/mail/wizard/mail_compose_message.py +++ b/addons/mail/wizard/mail_compose_message.py @@ -310,6 +310,7 @@ class MailComposer(models.TransientModel): 'attachment_ids': [attach.id for attach in self.attachment_ids], 'author_id': self.author_id.id, 'email_from': self.email_from, + 'reply_to': self.reply_to, 'record_name': self.record_name, 'no_auto_thread': self.no_auto_thread, 'mail_server_id': self.mail_server_id.id, |
