In a pan over a medium heat, add the butter, then onions and garlic and fry until softened.Add the red pepper and mushrooms and cook for 5 or so minutes, stirring, until softened
Pour in the red wine, reduce a little and then sprinkle the flour over top and stir in so it's all mixed.Then pour in the chicken stock, stir. Then add in the chorizo or smoked sausage, herbs and season.
Lastly, add in the cannelloni beans (rinse them a little first under water) and stir in.
Bring everything tot he boil and then reduce the heat to low.Let it simmer for 2.5 hrs (check on it around 2 hrs to ensure there is still enough sauce (add some water if not).
Remove the bay leaves and thyme stalks and serve.Serve with mash potato or some crusty bread.