Merge pull request #8175 from rohitwaghchaure/production_planning_issue

[fix] sales order with status closed fetching on production planning tool