Cut the onion into slices. Cut the bacon into small pieces and add to the pan with the onion. Add 1 oz of butter and saute until the onion softens.
Roll out the puff pastry on a baking sheet, pierce it with a fork and brush with sour cream. Add the fried mixture, sprinkle with gorgonzola, sprinkle with fresh thyme, salt and pepper.