Start off by preheating the oven to 350 degrees. On the stove heat the pan and add the 1/4 cup olive oil.
On a plate add the flour, salt, pepper and thyme. Combine the spices and flour together then dredge each chicken piece into it then add them skin side down to the pan. Cook for 5 minutes, flip over and cook another 5 minutes on the other side.
While the chicken is cooking chop the onion, clean the mushrooms and get the garlic peeled.
Once the chicken is cooked remove and put on a separate plate. The chicken does not have to be cooked you just wanted to crisp up the skin. To the same pan add 1 Tbs of butter.
With a spatula bring up the little bits on the bottom of the pan and add the onions. Brown them until translucent for 2-3 minutes.
Now that the onions are cooked add the liquids: wine and chicken stock. Add the chicken back to the pan. Then finally add the mushrooms and garlic on top of that. Turn off the heat to the skillet on the stove top then put the whole pan into the oven.
Cook the chicken for 60 minutes but to keep it moist every 15 minutes take a spoon and pour the juices from the pan over the chicken. Plate it up. Enjoy!