Pular para o conteúdo
Menu
Esta pergunta foi sinalizada
2 Respostas
4410 Visualizações

I have 4states ... Like:- new, in progress, resolved and cancelled... All states are clickable only ... So i wanted to do .. when it is in resolved state all three should be readonly ... 

Thank you 🙂

Avatar
Cancelar
Melhor resposta

Hi Ashutosh,

Try this,

field name = "state" attrs="{'readonly': [('state', 'in', ('resolved','new','in progress')]}"

Thanks

Avatar
Cancelar
Melhor resposta

Hi Ashutosh,

Try this,

field name = "state" attrs="{'readonly': [('state', '=', 'resolved')]}"

Thanks


Avatar
Cancelar
Autor

I tried this one .. particular this state is getting readonly .. I need all the states to be readonly

Publicações relacionadas Respostas Visualizações Atividade
2
mar. 24
2119
3
jul. 23
5292
1
out. 22
8053
1
jul. 22
1836
1
mai. 21
6024