From 3d15619ac720c116841576e81723175fb1b9a5d7 Mon Sep 17 00:00:00 2001
From: benjamin <benjamin@le-filament.com>
Date: Thu, 28 Sep 2023 18:44:13 +0200
Subject: [PATCH] [update] partner notebook page visibility

---
 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 514d2ff..e1aae40 100644
--- a/views/res_partner.xml
+++ b/views/res_partner.xml
@@ -13,7 +13,7 @@
                     <page
                         name='scop_financial_tools'
                         string="Outils Financiers"
-                        attrs="{'invisible': ['|', ('is_cooperative', '!=', True), ('project_status', '!=', '4_suivi')]}"
+                        attrs="{'invisible': ['|', ('is_cooperative', '!=', True), ('project_status', 'not in', ['4_suivi', '6_decede'])]}"
                     >
                         <separator string="Outils nationaux" />
                         <field name="financial_tools_ids" readonly="1" />
-- 
GitLab