diff options
| author | Christophe Simonis <chs@odoo.com> | 2019-05-16 16:56:34 +0000 |
|---|---|---|
| committer | Christophe Simonis <chs@odoo.com> | 2019-05-16 16:56:34 +0000 |
| commit | 4039fc52012b282e4491a58a2a97ca8f8c719f96 (patch) | |
| tree | 3be719247965d587d1e04823120a91345f155d06 /addons/website_customer | |
| parent | 90d86e07dd530755cd52774932f9f613f17a3b49 (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')
| -rw-r--r-- | addons/website_customer/views/website_customer_templates.xml | 2 |
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> |
