Ir al contenido
Menú
Se marcó esta pregunta
2 Respuestas
4466 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
2156
3
jul 23
5328
1
oct 22
8088
1
jul 22
1868
1
may 21
6092