Skip to Content
Menu
Dette spørgsmål er blevet anmeldt
2 Besvarelser
4477 Visninger

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
Kassér
Bedste svar

Hi Ashutosh,

Try this,

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

Thanks

Avatar
Kassér
Bedste svar

Hi Ashutosh,

Try this,

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

Thanks


Avatar
Kassér
Forfatter

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

Related Posts Besvarelser Visninger Aktivitet
2
mar. 24
2166
3
jul. 23
5335
1
okt. 22
8098
1
jul. 22
1876
1
maj 21
6100