summaryrefslogtreecommitdiff
path: root/addons/website_customer/views
diff options
context:
space:
mode:
authorChristophe Simonis <chs@odoo.com>2019-05-16 16:56:34 +0000
committerChristophe Simonis <chs@odoo.com>2019-05-16 16:56:34 +0000
commit4039fc52012b282e4491a58a2a97ca8f8c719f96 (patch)
tree3be719247965d587d1e04823120a91345f155d06 /addons/website_customer/views
parent90d86e07dd530755cd52774932f9f613f17a3b49 (diff)
[FIX] website_customer: no error-prone xpath expr
closes odoo/odoo#33450 Signed-off-by: Christophe Simonis <chs@odoo.com>
Diffstat (limited to 'addons/website_customer/views')
-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>