Merge pull request #7599 from KanchanChauhan/stock-controller-urgent-fix

[URGENT][FIX]Stock Controller fix