Ir al contenido
Menú
Se marcó esta pregunta
2 Respuestas
4950 Vistas

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
Descartar
Mejor respuesta

Hi Ashutosh,

Try this,

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

Thanks

Avatar
Descartar
Mejor respuesta

Hi Ashutosh,

Try this,

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

Thanks


Avatar
Descartar
Autor

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

Publicaciones relacionadas Respuestas Vistas Actividad
2
mar 24
2483
3
jul 23
5789
1
oct 22
8605
1
jul 22
2189
1
may 21
6486