This question has been flagged
1628 Views

Hello, 

Our process means that we want to create "Back Order" Manufacturing orders when a order doesn't meet it's requirement. This works fine.

However, when we have multiple back orders (Which is desirable due to batch sizes), the related work order always automatically starts when the previous is ended.

ie. Operation SEWING:

I have work orders 123-001, 123-002 and 123-003.

When 123-001 is ended then 123-002 automatically starts.

I found this code in mrp_workorder.py.

Does anyone know how I can set "No_Start_Next" in the environment?

Code:      if not self.env.context.get('no_start_next'):


I know that if I circumvent this code then it behaves how I'd like it to but do not want to change the code if I can set an environment flag somewhere.

Thanks for any help.
Regards

Andrew

Avatar
Discard