Peel and halve the shallots. Heat butter and olive oil in a pan over low heat. Carefully add the onion halves, salt & pepper, cover with lid and braise for about 5 minutes. Then stir them and fry a bit further.
Meanwhile grease a round baking dish and preheat the oven to 180° C. Add the balsamic vinegar and brown sugar to the onions and simmer until it thickens.
Now transfer the onions into the casserole dish and spread flat. Cover with the puff pastry (trim if necessary) and tuck it in neatly. Bake for about 20 minutes until the puff pastry has risen nicely.
Remove from the oven and let it rest for 5 minutes. Then turn it oven onto a large plate and serve!