Pular para o conteúdo
Menu
Esta pergunta foi sinalizada
1 Responder
674 Visualizações
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
Cancelar
Melhor resposta

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
Cancelar
Publicações relacionadas Respostas Visualizações Atividade
1
nov. 24
3971
1
set. 24
755
2
set. 24
1114
0
jul. 24
498
0
jul. 24
639