# HG changeset patch # User DIATTA Arona Ben Cherif dit Roon <aronabencherif.diatta@xcg.africa> # Date 1716295910 0 # Tue May 21 12:51:50 2024 +0000 # Branch 16.0 # Node ID 85f6da06608e6d93e6de96974d67923ec77973cb # Parent 52bf2e94b20e23c51809b9d191b4b3d7fc5f091a Fix the update of the 'email_from' field in the email template diff --git a/NEWS.rst b/NEWS.rst --- a/NEWS.rst +++ b/NEWS.rst @@ -1,6 +1,11 @@ Changelog ========= +16.0.1.0.2 +---------- + +* Fix the update of the 'email_from' field in the email template + 16.0.1.0.1 ---------- diff --git a/__manifest__.py b/__manifest__.py --- a/__manifest__.py +++ b/__manifest__.py @@ -24,7 +24,7 @@ to summarize the contents of a dashboard. """, "license": "AGPL-3", - "version": "16.0.1.0.1", + "version": "16.0.1.0.2", "category": "Tools", "author": "XCG Consulting", "website": "https://orbeet.io/", diff --git a/data/board_alerts_email_template.xml b/data/board_alerts_email_template.xml --- a/data/board_alerts_email_template.xml +++ b/data/board_alerts_email_template.xml @@ -16,7 +16,7 @@ </div> </field> <field name="email_from"> - {{ object.company_id.name and < object.company_id.email > or object.company_id.name or ''}} + {{ (object.company_id.name and '"%s" <%s>' % (object.company_id.name, object.company_id.email) or object.company_id.name or '') }} </field> <field name="partner_to">{{ object.partner_id.id }}</field> <field name="email_to">{{ object.email_formatted }}</field>