1In a big Dutch oven or soup pot, melt the butter over medium heat.
2Mix in the oil, sliced onions, salt, pepper, and sugar; let them cook uncovered, stirring now and then with a wooden spoon, until deep golden brown and caramelized, about 45 to 55 minutes.
3Stir infrequently at the start, then more often once the onions begin to brown, lifting the fond off the pan's bottom as you go.
4Should the onions darken too fast, turn the heat down a bit or splash in a few tablespoons of water to loosen the fond, then continue cooking.
5Add the wine, turn the heat to high, and cook, scraping up the fond, until the liquid has nearly all cooked away and the onions turn jammy, roughly 8 to 10 minutes.
6Mix in the flour and stir constantly while cooking for 1 minute.
7Put the beef broth, Worcestershire sauce, thyme, and bay leaves into the pot.
8Bring everything to a boil, then lower the heat and let it simmer, covered, for about 30 minutes.
9Heat the oven to 400°F (205°C) with the rack set in the middle.
Based on the recipe by Once Upon a Chef, written up in our own words.
Put it in your Christmas week and get the shopping list in one tap.
10
As the soup simmers, lay the baguette slices flat on a baking sheet and bake until crisp, dry, and golden around the edges, about 10 minutes, then set them aside.
11When the soup has finished cooking, remove the bay leaves, mix in the sherry, taste it, and adjust with extra Worcestershire sauce or a bit of sugar as needed.
12Position an oven rack roughly 6 in (15 cm) below the broiler and turn it on; set broiler-safe crocks on a baking sheet.
13Ladle the very hot soup into the crocks, place one or two baguette slices on top of each without letting them overlap, then scatter the grated Gruyère and Parmigiano Reggiano evenly over the top.
14Broil until the cheese melts and bubbles at the edges, about 3 to 5 minutes.