Passa al contenuto
Menu
È necessario essere registrati per interagire con la community.
La domanda è stata contrassegnata
2601 Visualizzazioni

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
Abbandona
Post correlati Risposte Visualizzazioni Attività
0
lug 23
1160
2
mag 23
2586
1
ott 22
1899
0
giu 24
2316
0
apr 21
1053