In a 210℃ / 410℉ oven, roast sweet potato with a little olive oil and salt and pepper for approximately 25 minutes until soft. Add zucchini/courgette for the final 15 minutes.
Pan fry the bacon to your liking. Pan fry red onion and garlic. Allow to cool slightly.
In a bowl, combine ricotta, Parmesan, bacon, onion and garlic mix, salt and pepper.
Place defrosted shortcrust pastry on baking sheet on two baking trays. Spoon over the ricotta mix, leaving a little pastry border at the edge. Use fingers to pinch sides of the pastry up on all sides, so it forms a little fluted rim to contain the ricotta. Pinch the edges well. Spread the ricotta right to the edge.
Arrange remaining vegetables on top. Press them into the ricotta mix. Bake at 180℃ / 350℉ for a further 30 minutes until pastry is golden.
Serve cut in quarters.