Skip to Content
Menu
This question has been flagged
2 Replies
5357 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
2765
3
júl 23
6031
1
okt 22
8935
1
júl 22
2323
1
máj 21
6774