I’m not sure how feasible this is.
Currently if I create a material request manually from a sales order, the material request is linked to the sales order.
What I would like is the same thing to occur when an automatic material request is generated.
I can see why this would not be done by default as with the default settings automatic material requests are only generated per day and any number of sales orders could be generated for the same item before a material request is automatically generated.
I added a custom app and changed the hooks.py file to generate the request every three minutes.
Is there some way of achieving this kind of automation?
How do people using auto material request know what sales orders the stock is allocated against?