Skip to Content
Меню
Вам необхідно зареєструватися, щоб взаємодіяти зі спільнотою.
Це запитання позначене
2 Відповіді
4882 Переглядів

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
2447
3
лип. 23
5727
1
жовт. 22
8569
1
лип. 22
2140
1
трав. 21
6453