summaryrefslogtreecommitdiff
path: root/addons/website_customer
diff options
context:
space:
mode:
authorChristophe Simonis <chs@odoo.com>2019-05-17 16:32:26 +0200
committerChristophe Simonis <chs@odoo.com>2019-05-17 16:32:26 +0200
commitdd90919c1957f70a4ba021724044ac1e08cbe6bd (patch)
tree9948b1e22ae1a87755186565e51973539273a60e /addons/website_customer
parent88de76a2c23b8cb2b46d95d63ce31f1eeff8eef3 (diff)
parentd785adba6c09b0773bdd874182f450ba2ebe7c6d (diff)
[MERGE] forward port branch saas-12.1 up to d785adba6c0
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 da6e9aa8a33..9cd668d901d 100644
--- a/addons/website_customer/views/website_customer_templates.xml
+++ b/addons/website_customer/views/website_customer_templates.xml
@@ -234,4 +234,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 t-attf-href="/customers/#{slug(reference)}">$0</a>
+ </xpath>
+ <xpath expr="//div[hasclass('media-body')]/span" position="replace">
+ <a t-attf-href="/customers/#{slug(reference)}">$0</a>
+ </xpath>
+</template>
+
</odoo>