summaryrefslogtreecommitdiff
path: root/addons/mail/data/mail_data.xml
diff options
context:
space:
mode:
authorGoffin Simon <sig@odoo.com>2016-06-14 13:26:30 +0200
committerGoffin Simon <sig@odoo.com>2016-06-14 14:44:58 +0200
commitca8a38d201643f0be1149fc37f87c6dd93f363ff (patch)
tree1c4c8c3d37be075e4e79fd17672427fb6b1fa997 /addons/mail/data/mail_data.xml
parent3f16ddfe503e36c9df63e4186c0674ccb61e7097 (diff)
[FIX] mail: forum reply shows as 'False'
When posting a comment after an answer in the forum, a mail was sent to each subscriber with 'Re: False' as title. In fact the title has to be 'Re:' + the name of the parent record of this message. When a mail is sent from the post, a link to access the subject of the forum must be included in the mail. opw:679073
Diffstat (limited to 'addons/mail/data/mail_data.xml')
-rw-r--r--addons/mail/data/mail_data.xml2
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/mail/data/mail_data.xml b/addons/mail/data/mail_data.xml
index 24d31ca23d3..44fd815a279 100644
--- a/addons/mail/data/mail_data.xml
+++ b/addons/mail/data/mail_data.xml
@@ -69,7 +69,7 @@
<meta itemprop="name" content="View ${ctx['model_name']}"/>
</div>
</div>
-% if not ctx['is_discussion'] or not len(ctx['actions']) == 0:
+% if not ctx['is_discussion'] or not len(ctx['actions']) == 0 or ctx.get('is_accessible'):
<div summary="o_mail_notification" style="padding:0px; width:600px; margin:0 auto; background: #FFFFFF repeat top /100%;color:#777777">
<table cellspacing="0" cellpadding="0" style="width:600px; border-collapse:collapse; background:inherit; color:inherit">
<tbody><tr>