summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--addons/website_customer/views/website_customer_templates.xml2
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/website_customer/views/website_customer_templates.xml b/addons/website_customer/views/website_customer_templates.xml
index 81b83e89e1d..7be5b81af3c 100644
--- a/addons/website_customer/views/website_customer_templates.xml
+++ b/addons/website_customer/views/website_customer_templates.xml
@@ -212,7 +212,7 @@
<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">
+ <xpath expr="//div[hasclass('media-body')]/span" position="replace">
<a class="media-heading" t-attf-href="/customers/#{slug(reference)}">$0</a>
</xpath>
</template>