Перейти к содержимому
Меню
Чтобы взаимодействовать с сообществом, необходимо зарегистрироваться.
Этот вопрос был отмечен
2 Ответы
4421 Представления

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

Related Posts Ответы Просмотры Активность
2
мар. 24
2133
3
июл. 23
5307
1
окт. 22
8057
1
июл. 22
1843
1
мая 21
6033