def focusOutEvent(self, QFocusEvent): EntradaTexto().focusOutEvent(QFocusEvent) if not validar_cuit(self.text()): Ventanas.showAlert("Sistema", "ERROR: CUIT/CUIL no valido. Verfique!!!")
def onEditingFinishedDocumento(self): if self.cliente.tiporesp.idtiporesp != 3: if not validar_cuit(self.view.lineEditDocumento.text()): Ventanas.showAlert("Sistema", "ERROR: CUIT/CUIL no valido. Verifique!!!")