diff --git a/NEWS.rst b/NEWS.rst index 52bf2e94b20e23c51809b9d191b4b3d7fc5f091a_TkVXUy5yc3Q=..85f6da06608e6d93e6de96974d67923ec77973cb_TkVXUy5yc3Q= 100644 --- 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 index 52bf2e94b20e23c51809b9d191b4b3d7fc5f091a_X19tYW5pZmVzdF9fLnB5..85f6da06608e6d93e6de96974d67923ec77973cb_X19tYW5pZmVzdF9fLnB5 100644 --- 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 index 52bf2e94b20e23c51809b9d191b4b3d7fc5f091a_ZGF0YS9ib2FyZF9hbGVydHNfZW1haWxfdGVtcGxhdGUueG1s..85f6da06608e6d93e6de96974d67923ec77973cb_ZGF0YS9ib2FyZF9hbGVydHNfZW1haWxfdGVtcGxhdGUueG1s 100644 --- 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>