Se rendre au contenu
Menu
Cette question a été signalée
2 Réponses
4879 Vues

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
Ignorer
Meilleure réponse

Hi Ashutosh,

Try this,

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

Thanks

Avatar
Ignorer
Meilleure réponse

Hi Ashutosh,

Try this,

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

Thanks


Avatar
Ignorer
Auteur

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

Publications associées Réponses Vues Activité
2
mars 24
2447
3
juil. 23
5727
1
oct. 22
8568
1
juil. 22
2137
1
mai 21
6452