Skip to Content
मेन्यू
This question has been flagged
2 Replies
4975 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
मार्च 24
2505
3
जुल॰ 23
5797
1
अक्तू॰ 22
8653
1
जुल॰ 22
2196
1
मई 21
6501