if hasattr(type_permis, "__class__") and type_permis.__class__.__name__ == 'Matrice':
self.monType=type_permis
return self.valideMatrice(cr=cr)
+ if self.definition.siValide != None :
+ self.definition.siValide(self)
return Validation.V_MCSIMP.MCSIMP.isvalid(self,cr=cr)
def GetNomConcept(self):
# Glut Horrible pour les matrices ???
if sd.__class__.__name__== "variable":
for type_permis in self.definition.type:
- if type(type_permis) == types.InstanceType:
+ #if type(type_permis) == types.InstanceType:
+ # a voir en python 3
if type_permis.__class__.__name__ == 'Matrice' :
self.state="changed"
self.isvalid()