Preheat your oven to 375°F and spray a 9x13 baking dish with non-stick spray.
Add butter to a large saucepan over medium heat and let it melt completely. Stir in the chopped onions and cook until they begin to soften, about 5 minutes.
Sprinkle the flour over the softened onions, stir constantly, and cook for about 1 minute.
Pour in the milk and heavy cream while continuously whisking the mixture. Stir until it starts to thicken, about 3 minutes.
Add shredded cheddar cheese to the mixture and stir until melted and smooth.
Stir in the cream of chicken soup, sour cream, salt, parsley flakes, and pepper. Mix until combined.
Layer half of the sliced potatoes in the bottom of the baking dish. Pour half of the cheese sauce over the potatoes.
Add the remaining potatoes and top with the rest of the cheese sauce.
Cover the dish tightly with foil and bake for 30 minutes.
Remove the foil and continue baking for an additional 45 minutes or until the potatoes are soft and the top is bubbly.
Let it cool slightly before serving. Enjoy this cheesy delight!