Heat the olive oil in a large saucepan. Add the onion and bell pepper and cook over moderate heat until softened, about 7 minutes. Add the sausage and cook for 4 minutes, crumbling it with a spoon. Add the beans, tomatoes, stock, thyme and crushed red pepper and season with salt and pepper. Cover partially and simmer over moderate heat until the beans are tender, about 20 minutes. Add the potatoes, cover partially and cook until tender, about 15 minutes longer. Remove the thyme sprigs. Stir in the parsley and serve.