summaryrefslogtreecommitdiff
path: root/addons/website_customer
diff options
context:
space:
mode:
authorChristophe Simonis <chs@odoo.com>2019-06-03 15:49:31 +0200
committerChristophe Simonis <chs@odoo.com>2019-06-03 15:49:31 +0200
commitc8d7ad9a6bc55af465392d772ae15e981d0f80c7 (patch)
treee9423fa8d28f85b8ad6a1a16e59afadb8db441e9 /addons/website_customer
parent8085f259c87f1e6b7f9cf89067f56b327b8936e3 (diff)
parent995aa1685eece9ff1070a637d19d511fb1f80260 (diff)
[MERGE] forward port branch saas-12.2 up to 995aa1685ee
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>