コード例 #1
0
ファイル: add.py プロジェクト: emilianox/Plasta
 def guardar(self, listadedatos):
     nuevaSeccion = BaseAddWindow.guardar(self, listadedatos)
     nombres = self.obtenerNombresCuentas()
     self.manager.establecerSeccion(
             self.obtenerObjetosCuenta( self.obtenerNombresCuentas() ),
             nuevaSeccion)
     return nuevaSeccion
コード例 #2
0
 def guardar(self, listadedatos):
     # obtenemos el objeto cuenta
     unaCuenta = self.cuentasManager.get(listadedatos[0])[0]
     listadedatos[0] = unaCuenta
     listadedatos[1] = unicode(str(listadedatos[1]), "utf-8")
     listadedatos.append(unaCuenta.tipo)
     self.balance.actualizar(float(listadedatos[1]), unaCuenta.tipo)
     return BaseAddWindow.guardar(self, listadedatos)