跳至内容
菜单
此问题已终结
1 回复
704 查看
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.

形象
丢弃
最佳答案

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"?

形象
丢弃
相关帖文 回复 查看 活动
1
11月 24
4006
1
9月 24
787
2
9月 24
1145
0
7月 24
506
0
7月 24
646