Skip to Content
Menu
This question has been flagged
2 Replies
3101 Views

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

Hi Ashutosh,

Try this,

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

Thanks

Avatar
Discard
Best Answer

Hi Ashutosh,

Try this,

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

Thanks


Avatar
Discard
Author

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

Related Posts Replies Views Activity
2
Mar 24
1227
3
Jul 23
3905
1
Oct 22
6264
1
Jul 22
1155
1
May 21
5055