Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
3251 Lượt xem

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

Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
0
thg 7 23
1778
2
thg 5 23
3230
1
thg 10 22
2575
0
thg 6 24
2958
0
thg 4 21
1585