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 ccd0732839d..9cbab253c0c 100644
--- a/addons/website_customer/views/website_customer_templates.xml
+++ b/addons/website_customer/views/website_customer_templates.xml
@@ -243,7 +243,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>