def guardar(self, listadedatos): nuevaSeccion = BaseAddWindow.guardar(self, listadedatos) nombres = self.obtenerNombresCuentas() self.manager.establecerSeccion( self.obtenerObjetosCuenta( self.obtenerNombresCuentas() ), nuevaSeccion) return nuevaSeccion
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)