跳至内容
菜单
此问题已终结
2 回复
4397 查看

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
2112
3
7月 23
5267
1
10月 22
8039
1
7月 22
1830
1
5月 21
5999