コンテンツへスキップ
メニュー
この質問にフラグが付けられました
2 返信
5156 ビュー

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 🙂

アバター
破棄
最善の回答

Hi Ashutosh,

Try this,

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

Thanks

アバター
破棄
最善の回答

Hi Ashutosh,

Try this,

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

Thanks


アバター
破棄
著作者

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

関連投稿 返信 ビュー 活動
2
3月 24
2608
3
7月 23
5860
1
10月 22
8754
1
7月 22
2216
1
5月 21
6581