From 06fcb4fb2f2d6956ab1b292fe60c419586225d9e Mon Sep 17 00:00:00 2001 From: "pascale.noyret" Date: Wed, 2 Jun 2021 16:43:18 +0200 Subject: [PATCH] ajout de Factory dans la liste pour les unions --- Efi2Xsd/MCAccasXML.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Efi2Xsd/MCAccasXML.py b/Efi2Xsd/MCAccasXML.py index 23149b1f..82b544e8 100755 --- a/Efi2Xsd/MCAccasXML.py +++ b/Efi2Xsd/MCAccasXML.py @@ -196,7 +196,9 @@ class X_MCSIMP(X_OBJECT): if self.valeur != None : if self.needFactory : if self.definition.max > 1 : - self.objPyxb=self.maClasseModeleMetier(self.valeur) + # PNPN A corriger + # self.objPyxb=self.maClasseModeleMetier(self.valeur) + self.objPyxb=self.maClasseModeleMetierFactory(self.valeur) else : self.objPyxb=self.maClasseModeleMetierFactory(self.valeur) else : self.objPyxb=self.maClasseModeleMetier(self.valeur) else : -- 2.39.2