Example #1
0
 def focusOutEvent(self, QFocusEvent):
     EntradaTexto().focusOutEvent(QFocusEvent)
     if not validar_cuit(self.text()):
         Ventanas.showAlert("Sistema",
                            "ERROR: CUIT/CUIL no valido. Verfique!!!")
Example #2
0
 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!!!")