summaryrefslogtreecommitdiff
path: root/addons/website_customer
diff options
context:
space:
mode:
authorChristophe Simonis <chs@odoo.com>2019-05-14 13:55:35 +0200
committerChristophe Simonis <chs@odoo.com>2019-05-14 13:55:35 +0200
commita7743e0be8b0e0ef8819f4e107914263e36bbb88 (patch)
tree84322835094a2c0bea42115b93a457fe753e1f5c /addons/website_customer
parent82f88478cf87d4c142be170d2d10b265888ae86c (diff)
parent64ed30e34b5764dbe42c408886cd0d23601b211f (diff)
[MERGE] forward port branch saas-14 up to 64ed30e34b5
Diffstat (limited to 'addons/website_customer')
-rw-r--r--addons/website_customer/views/website_customer_templates.xml9
1 files changed, 9 insertions, 0 deletions
diff --git a/addons/website_customer/views/website_customer_templates.xml b/addons/website_customer/views/website_customer_templates.xml
index d4c743cdcd5..81b83e89e1d 100644
--- a/addons/website_customer/views/website_customer_templates.xml
+++ b/addons/website_customer/views/website_customer_templates.xml
@@ -208,4 +208,13 @@
</t>
</template>
+<template id="references_block_href" inherit_id="website_crm_partner_assign.references_block" name="Partner References Block">
+ <xpath expr="//div/span" position="replace">
+ <a class="pull-left" t-attf-href="/customers/#{slug(reference)}">$0</a>
+ </xpath>
+ <xpath expr="//div[@class='media-body']/span" position="replace">
+ <a class="media-heading" t-attf-href="/customers/#{slug(reference)}">$0</a>
+ </xpath>
+</template>
+
</odoo>