Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
1 Trả lời
1470 Lượt xem
in repair v15

I created a quality control with studio and I put it as required

here is his code

"[["state","=","under_repair"]]"

after updating to v17

the code is no longer functional.

The requirement applies when you want to complete the repair.

help me put a requirement for the status "complete the repair" for quality control.

Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất

I would assume it's because the status values in RO had changed (reduced) from v16 to v17.

v16 had:

('draft', 'Quotation'),
('confirmed', 'Confirmed'),
('ready', 'Ready to Repair'),
('under_repair', 'Under Repair'),
('2binvoiced', 'To be Invoiced'),
('done', 'Repaired'),
('cancel', 'Cancelled')

v17 have:

('draft', 'New'),
('confirmed', 'Confirmed'),
('under_repair', 'Under Repair'),
('done', 'Repaired'),
('cancel', 'Cancelled')

so you can se that v17 is missing two: 

('ready', 'Ready to Repair'),
('2binvoiced', 'To be Invoiced'),

maybe your solution checks if the status changed from "under_repair" to "2binvoiced"?

Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
1
thg 11 24
4848
1
thg 9 24
1686
2
thg 9 24
2002
0
thg 7 24
1077
0
thg 7 24
1243