Skip to Content
Menu
This question has been flagged
2 Replies
4862 Zobrazenia

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
Zrušiť
Best Answer

Hi Ashutosh,

Try this,

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

Thanks

Avatar
Zrušiť
Best Answer

Hi Ashutosh,

Try this,

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

Thanks


Avatar
Zrušiť
Autor

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

Related Posts Replies Zobrazenia Aktivita
2
mar 24
2442
3
júl 23
5723
1
okt 22
8563
1
júl 22
2133
1
máj 21
6410