From cc5a1140c0e08485ac09c297a02d6f6ae95549c1 Mon Sep 17 00:00:00 2001 From: Lorenzo Romero Date: Fri, 30 Aug 2024 14:00:35 +0200 Subject: [PATCH 1/2] email_from now also sets the reply_to field of the email --- email_from/models/mail_mail.py | 1 + 1 file changed, 1 insertion(+) diff --git a/email_from/models/mail_mail.py b/email_from/models/mail_mail.py index ac6088d5..c0a186eb 100644 --- a/email_from/models/mail_mail.py +++ b/email_from/models/mail_mail.py @@ -46,5 +46,6 @@ def create(self, vals_list): rec = to_adjust.get(key, default) if rec and key not in to_keep: mail.write({"email_from": rec.email_from}) + mail.write({"reply_to": rec.email_from}) return res From 8c77bada0dba619f6324061975e22e0d7026195e Mon Sep 17 00:00:00 2001 From: jans23 Date: Fri, 30 Aug 2024 14:12:50 +0200 Subject: [PATCH 2/2] Update README.rst --- email_from/README.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/email_from/README.rst b/email_from/README.rst index a35400d0..3fc4e523 100644 --- a/email_from/README.rst +++ b/email_from/README.rst @@ -2,7 +2,7 @@ Set Default Email From Address ============================== -* User have option to auto set "Email From" value for mail sending from Odoo for specific selected models. +* User have option to auto set "Email From" value for mail sending from Odoo for specific selected models. This also sets the "Reply To" field. * Configuration need to do in Settings --> General Settings menu. Enter "Email From" and choose the "Models" for that Email From need to change. Authors