validite=self.item.isValid()
if debug : print ('ds onValid', self.item.nom, self.oldValidite, validite)
if self.oldValidite==validite : return
- #if self.oldValidite=='init' :
- # self.oldValidite=validite
- # print ('self.item.state' , self.item.state)
- # if self.item.state != 'modified' : return
+ if self.oldValidite=='init' :
+ self.oldValidite=validite
+ print ('self.item.state' , self.item.state)
+ if self.item.state != 'modified' : return
self.oldValidite=validite
self.editor.connecteur.toWebApp('propageValide',self.getIdUnique(), validite)
if debug : print ('appel de propageValide pour ', self.item.nom, validite,self.oldValidite)
self.valid = valid
self.state = 'unchanged'
if not old_valid or old_valid != self.valid:
+ self.parent.state = 'modified'
self.initModifUp()
def isValid(self, cr='non'):