跳至內容
選單
此問題已被標幟
3236 瀏覽次數

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

頭像
捨棄
相關帖文 回覆 瀏覽次數 活動
0
7月 23
1723
2
5月 23
3202
1
10月 22
2553
0
6月 24
2933
0
4月 21
1574