diff --git a/views/res_partner.xml b/views/res_partner.xml index 2aa19815473d9484335ba437a3a572d60e0677f7..e1701462fbbda8141d82ca19731a640b5d02851b 100644 --- a/views/res_partner.xml +++ b/views/res_partner.xml @@ -71,7 +71,7 @@ <xpath expr="//field[@name='image']" position="attributes"> <attribute name="attrs">{'invisible': [('is_cooperative','=', True)]}</attribute> </xpath> - <xpath expr="//div[@class='oe_title']" position="attributes"> + <xpath expr="//div[hasclass('oe_title')]" position="attributes"> <attribute name="attrs">{'invisible': [('is_cooperative','=', True)]}</attribute> </xpath> <xpath expr="//form/sheet/group" position="attributes">