From 7273719b880cc7c57e55a3334ffe99de36b27651 Mon Sep 17 00:00:00 2001 From: Julien Castiaux Date: Wed, 24 Jul 2019 06:25:02 +0000 Subject: [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 --- addons/mail/wizard/mail_compose_message.py | 1 + 1 file changed, 1 insertion(+) (limited to 'addons/mail/wizard/mail_compose_message.py') 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, -- cgit v1.2.3