diff options
| author | Denis Ledoux <dle@odoo.com> | 2016-03-11 11:42:43 +0100 |
|---|---|---|
| committer | Denis Ledoux <dle@odoo.com> | 2016-03-11 11:42:43 +0100 |
| commit | 6e09293b7d921a13c014403acd4bdf7d70a03c48 (patch) | |
| tree | ccbdfdbc3eb94b6a2fe2276d21b4b8378ccdb50e /addons/mail/data/mail_data.xml | |
| parent | 0eb3170674d0df8b68ff72b3a0c60741531ee7fe (diff) | |
| parent | 8e69043562c125666d63657733428d68e8e97caa (diff) | |
[MERGE] forward port of branch 9.0 up to 8e69043
Diffstat (limited to 'addons/mail/data/mail_data.xml')
| -rw-r--r-- | addons/mail/data/mail_data.xml | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/addons/mail/data/mail_data.xml b/addons/mail/data/mail_data.xml index ea5610a4976..2d8a0cb66a0 100644 --- a/addons/mail/data/mail_data.xml +++ b/addons/mail/data/mail_data.xml @@ -62,8 +62,10 @@ <field name="body_html"><![CDATA[ <div itemscope itemtype="http://schema.org/EmailMessage"> <div itemprop="potentialAction" itemscope itemtype="http://schema.org/ViewAction"> + % if ctx.get('button_access'): <link itemprop="target" href="${ctx['button_access']['url']}"/> <link itemprop="url" href="${ctx['button_access']['url']}"/> + % endif <meta itemprop="name" content="View ${ctx['model_name']}"/> </div> </div> |
