summaryrefslogtreecommitdiff
path: root/addons/website_customer
diff options
context:
space:
mode:
authorChristophe Simonis <chs@odoo.com>2019-05-17 12:19:55 +0200
committerChristophe Simonis <chs@odoo.com>2019-05-17 12:19:55 +0200
commitd8c0826b078788be03c2835b01c4fbd08a2cd398 (patch)
tree0bb5f9955ddc4ee7ec5ed58ec4f386618ae1f70b /addons/website_customer
parentcc641b3e2dda678c0d6928768c66047c2070ccb6 (diff)
parent37bca6ae5001d76789dc5c02bdbdfab9ddb557fa (diff)
[MERGE] forward port branch saas-11.3 up to 37bca6ae500
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>