#print ('analyseXML')
#print (self.procedure)
self.setCurrentContext()
- self.analyseFromXML()
+ try :
+ self.analyseFromXML()
+ except Exception as e :
+ print ('Erreur a la generation du fichier comm ')
+ import traceback
+ traceback.print_stack()
+ # Erreur lors de la conversion
+ l=traceback.format_exception(sys.exc_info()[0],sys.exc_info()[1],
+ sys.exc_info()[2])
+ self.cr.exception(tr("Impossible de convertir le fichier XML\n %s", ''.join(l)))
+ print (e)
+ return
+
def registerParametre(self,param):
"""