Skip to Content
Menu
Musisz się zarejestrować, aby móc wchodzić w interakcje z tą społecznością.
To pytanie dostało ostrzeżenie
2 Odpowiedzi
4894 Widoki

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 🙂

Awatar
Odrzuć
Najlepsza odpowiedź

Hi Ashutosh,

Try this,

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

Thanks

Awatar
Odrzuć
Najlepsza odpowiedź

Hi Ashutosh,

Try this,

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

Thanks


Awatar
Odrzuć
Autor

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

Powiązane posty Odpowiedzi Widoki Czynność
2
mar 24
2453
3
lip 23
5735
1
paź 22
8570
1
lip 22
2145
1
maj 21
6462