Skip to Content
Menu
Dette spørgsmål er blevet anmeldt
2 Besvarelser
4907 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
2458
3
jul. 23
5748
1
okt. 22
8577
1
jul. 22
2146
1
maj 21
6470