Přejít na obsah
Menu
You need to be registered to interact with the community.
This question has been flagged
1 Odpovědět
1346 Zobrazení
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.

Avatar
Zrušit
Nejlepší odpověď

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

Avatar
Zrušit
Related Posts Odpovědi Zobrazení Aktivita
1
lis 24
4680
1
zář 24
1534
2
zář 24
1827
0
čvc 24
994
0
čvc 24
1122