From bda7f5441e3cf46e79c087d62dcb7394ded844ee Mon Sep 17 00:00:00 2001
From: Remi <remi@le-filament.com>
Date: Thu, 27 Feb 2020 17:44:46 +0100
Subject: [PATCH] Fix @class

---
 views/res_partner.xml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/views/res_partner.xml b/views/res_partner.xml
index 2aa1981..e170146 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">
-- 
GitLab