[FIX] website_customer: no error-prone xpath expr

closes odoo/odoo#33450

Signed-off-by: Christophe Simonis <chs@odoo.com>
This commit is contained in:
Christophe Simonis
2019-05-16 16:56:34 +00:00
parent 90d86e07dd
commit 4039fc5201
@@ -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>