From 732b5e07469cc5009aedd1d77ae5673e31d1f6c3 Mon Sep 17 00:00:00 2001 From: "CGSCOP\\hsilvant" <hsilvant@scop.coop> Date: Thu, 17 Oct 2024 16:47:36 +0200 Subject: [PATCH] Affichage de la fonction qq soit le contexte --- views/res_partner.xml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/views/res_partner.xml b/views/res_partner.xml index d6e6879..1638f83 100644 --- a/views/res_partner.xml +++ b/views/res_partner.xml @@ -252,7 +252,7 @@ /> <field name="function" - attrs="{'invisible': ['|',('is_company','=', True),('parent_is_cooperative','=', False)]}" + attrs="{'invisible': [('is_company','=', True)]}" /> <field name="employee" @@ -2215,7 +2215,6 @@ /> <field name="function" - attrs="{'invisible': [('parent_is_cooperative','=', False)]}" /> <field name="function_lst_id" -- GitLab