Skip to content
Snippets Groups Projects
Commit 002650a2 authored by Renaud Thiry's avatar Renaud Thiry Committed by Thibault Delavallée
Browse files

[FIX] mail: Give reply-to non-template value


When sending a mass mail through the composer, if the field ``reply_to`` had to
fall back to being ``email_from``, reply_to would take the value of the template
syntax instead of the rendered value.

This is notably the case when mass-mailing invoices through the accounting app.
Resulting in reply_to fields such as: '{{user.email}}'

On some mail clients (including mailhog), this could also result in template
syntax being shown as part of the subject or sender field.

This commit fixes that by correctly taking the rendered value of 'email_from'

Task-2816845

closes odoo/odoo#95227

Signed-off-by: default avatarThibault Delavallee (tde) <tde@openerp.com>
parent ef568627
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment