Ir al contenido
Menú
Se marcó esta pregunta
1 Responder
1041 Vistas
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
Descartar
Mejor respuesta

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
Descartar
Publicaciones relacionadas Respuestas Vistas Actividad
1
nov 24
4388
1
sept 24
1126
2
sept 24
1459
0
jul 24
761
0
jul 24
856