From aa6eb3f75e20d12e60b38ddb91be9d7800eda7b5 Mon Sep 17 00:00:00 2001 From: PASCALE NOYRET Date: Tue, 18 Jan 2022 13:37:51 +0100 Subject: [PATCH] ajout pour fact --- Ihm/I_OBJECT.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Ihm/I_OBJECT.py b/Ihm/I_OBJECT.py index 2a35cd5f..7ddc509c 100644 --- a/Ihm/I_OBJECT.py +++ b/Ihm/I_OBJECT.py @@ -208,9 +208,12 @@ class OBJECT: return monDico def getDicoForFancy(self): + print ('OBJECT getDicoForFancy ',self, self.nature) monDico={} leNom = self.nom - if self.nature == 'MCFACT' : leNom=self.getLabelText() + if self.nature == 'MCFACT' : + leNom=self.getLabelText() + monDico['statut'] =self.definition.statut if self.nature == 'OPERATEUR' and self.sdnom != "sansnom" : leNom = self.nom+'__'+self.sdnom monDico['title']=leNom monDico['key']=self.idUnique -- 2.39.2