Skip to Content
Menú
This question has been flagged
2 Respostes
4408 Vistes

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
Descartar
Best Answer

Hi Ashutosh,

Try this,

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

Thanks

Avatar
Descartar
Best Answer

Hi Ashutosh,

Try this,

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

Thanks


Avatar
Descartar
Autor

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

Related Posts Respostes Vistes Activitat
2
de març 24
2119
3
de jul. 23
5292
1
d’oct. 22
8052
1
de jul. 22
1836
1
de maig 21
6024