Salome HOME
correction pb condition_context avec newJDC
[tools/eficas.git] / generator / generator_homard.py
index 78e4b94a5f7cdf912d74cbfb5d27c9d8beed1e99..af37cb57d738de82df25dc75ba4ace9d3e6c7187 100644 (file)
@@ -108,7 +108,7 @@ class HomardGenerator(PythonGenerator):
       self.assoc['CCGroFro']='GROUP_MA'
 #     self.assoc['CCNoChaI']='NOM_MED' (on doit aussi ajouter 'COMPOSANTE')
       self.assoc['CCNumOrI']='NUME_ORDRE'
-      self.assoc['CCNumPTI']='NUME_ORDRE'
+      self.assoc['CCNumPTI']='NUME_PAS_TEMPS'
      
       self.dico_mot_depend={}
      
@@ -218,7 +218,7 @@ class HomardGenerator(PythonGenerator):
           return None
         if (self.dico_mot_clef['COMPOSANTE']== None):
            return None
-        chaine=self.dico_mot_clef['NOM_MED']+' '+self.dico_mot_clef['COMPOSANTE']
+        chaine=self.dico_mot_clef['COMPOSANTE']+' '+self.dico_mot_clef['NOM_MED']
         return chaine
 
    def HOMaiN__(self):