[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:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user