Oldham moved within striking distance of the play-offs after a 3-2 win at Solihull, who suffered a fourth straight National League defeat.
The home side went in front in the 26th minute when Mark Beck knocked the ball in from close range following a corner.
On-loan forward Josh Stones, who only signed from Wigan on Friday, marked his debut with an equaliser for Oldham in the 63rd minute, with Nathan Sheron adding a swift second goal a minute later.
Sheron grabbed a fine second with eight minutes left before Josh Kelly scored a stoppage-time penalty for Moors, who sit fifth – with Oldham just four points behind in 10th.
Subscribe or register today to discover more from DonegalLive.ie
Buy the e-paper of the Donegal Democrat, Donegal People's Press, Donegal Post and Inish Times here for instant access to Donegal's premier news titles.
Keep up with the latest news from Donegal with our daily newsletter featuring the most important stories of the day delivered to your inbox every evening at 5pm.