Přejít na obsah
Menu
You need to be registered to interact with the community.
This question has been flagged
2 Odpovědi
4887 Zobrazení

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 🙂

Avatar
Zrušit
Nejlepší odpověď

Hi Ashutosh,

Try this,

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

Thanks

Avatar
Zrušit
Nejlepší odpověď

Hi Ashutosh,

Try this,

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

Thanks


Avatar
Zrušit
Autor

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

Related Posts Odpovědi Zobrazení Aktivita
2
bře 24
2449
3
čvc 23
5728
1
říj 22
8569
1
čvc 22
2144
1
kvě 21
6455