Example #1
0
    def hacerMovimiento(self,tipo=''):
	if self.parent.aut(2):
	  ag=AgregaGasto(self.parent,self.parent.sesion['usuario']['id_usuario'],tipo)
	  if ag.exec_()>0:
	    self.resumir()
Example #2
0
    def agregar(self): 
      entidad=self.getEntidadMovimiento()
      ag=AgregaGasto(self.parent,self.parent.sesion['usuario']['id_usuario'],entidad[0])
      if ag.exec_()>0:
	self.tablarVentas()
	self.parcial()