diff options
| author | Christophe Simonis <chs@odoo.com> | 2016-03-24 16:53:45 +0100 |
|---|---|---|
| committer | Christophe Simonis <chs@odoo.com> | 2016-03-24 16:53:45 +0100 |
| commit | ddb0fb273982399f7618a017eeb81d6a5253575a (patch) | |
| tree | f62aea4a3888d45e8bfe0f17baeb4ab9d0b47f41 /addons/mail/data/mail_data.xml | |
| parent | d8137d35b7cc30df258fc310074eca3bfd88ec7a (diff) | |
| parent | 59d3f63c58b47dfc1991494f167216cc1d9a9469 (diff) | |
[MERGE] forward port of branch saas-9 up to 59d3f63
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 7eac088b669..24d31ca23d3 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> |
