Generating Material Requests in Make to Stock scenario

I need to generate a material request for raw material based on a production order (not enough raw material in stock to just have a stock entry listing). There is no button to generate a material request in the submitted production order. Also the Production Planning Tool does not enable the “Create Material Requests” button in a Make to Stock scenario (without a sales order). If I manually create a new Material Request it is possible to link it (and fill details) from a Sales Order but not from a Production Order. This appears to contradict the Make to Stock workflow

In a Make to Order scenario it all works. There is a Create Material Requests button in the submitted sales order and the button in the Planning Tool works when there is a sales order listed in the tool.

Is there a solution to this?

Can you please add this in Issues · frappe/erpnext · GitHub?

I have just opened a new issue.
Thanks.