Passa al contenuto
Menu
È necessario essere registrati per interagire con la community.
La domanda è stata contrassegnata
2 Risposte
4893 Visualizzazioni

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
Abbandona
Risposta migliore

Hi Ashutosh,

Try this,

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

Thanks

Avatar
Abbandona
Risposta migliore

Hi Ashutosh,

Try this,

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

Thanks


Avatar
Abbandona
Autore

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

Post correlati Risposte Visualizzazioni Attività
2
mar 24
2451
3
lug 23
5732
1
ott 22
8569
1
lug 22
2145
1
mag 21
6461