summaryrefslogtreecommitdiff
path: root/addons
diff options
context:
space:
mode:
authorDavid Beguin <dbe@odoo.com>2018-09-05 14:15:13 +0200
committerDavid Beguin <dbe@odoo.com>2018-09-10 09:20:24 +0200
commitc6c72a26d2c4d8025a093eec4c202ccc2acc614b (patch)
tree9500008fa9c42d4412aeab9b44a4b0ec4e1053f5 /addons
parent314305a486fbf7aa58ba834aceea6ac429fbc865 (diff)
[FIX] event : wrong footer href in email templates
The href was not correctly build as there was no evaluation of object.company_id.website. Eval have been added.
Diffstat (limited to 'addons')
-rw-r--r--addons/event/data/email_template_data.xml4
1 files changed, 2 insertions, 2 deletions
diff --git a/addons/event/data/email_template_data.xml b/addons/event/data/email_template_data.xml
index 48cc3bcf7ec..c1ca30a1347 100644
--- a/addons/event/data/email_template_data.xml
+++ b/addons/event/data/email_template_data.xml
@@ -208,7 +208,7 @@
<tr><td align="center" style="min-width: 590px;">
<table width="590" border="0" cellpadding="0" cellspacing="0" style="min-width: 590px; background-color: #F1F1F1; color: #454748; padding: 8px; border-collapse:separate;">
<tr><td style="text-align: center; font-size: 14px;">
- Sent by <a target="_blank" href="object.company_id.website" style="color: #875A7B;">${object.company_id.name}</a>
+ Sent by <a target="_blank" href="${object.company_id.website}" style="color: #875A7B;">${object.company_id.name}</a>
% if 'website_url' in object.event_id and object.event_id.website_url:
<br />
Discover <a href="/event" style="text-decoration:none;color:#717188;">all our events</a>.
@@ -402,7 +402,7 @@
<tr><td align="center" style="min-width: 590px;">
<table width="590" border="0" cellpadding="0" cellspacing="0" style="min-width: 590px; background-color: #F1F1F1; color: #454748; padding: 8px; border-collapse:separate;">
<tr><td style="text-align: center; font-size: 14px;">
- Sent by <a target="_blank" href="object.company_id.website" style="color: #875A7B;">${object.company_id.name}</a>
+ Sent by <a target="_blank" href="${object.company_id.website}" style="color: #875A7B;">${object.company_id.name}</a>
% if 'website_url' in object.event_id and object.event_id.website_url:
<br />
Discover <a href="/event" style="text-decoration:none;color:#717188;">all our events</a>.