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 ð
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 ð
Hi Ashutosh,
Try this,
field name = "state" attrs="{'readonly': [('state', 'in', ('resolved','new','in progress')]}"
Thanks
āļŠāļĢāđāļēāļāļāļąāļāļāļĩāļ§āļąāļāļāļĩāđāđāļāļ·āđāļāđāļāļĨāļīāļāđāļāļĨāļīāļāđāļāļāļąāļāļāļĩāđāļāļāļĢāđāļāļīāđāļĻāļĐāđāļĨāļ°āļĄāļĩāļŠāđāļ§āļāļĢāđāļ§āļĄāļāļąāļāļāļāļĄāļĄāļđāļāļīāļāļĩāđāļāļĩāđāļĒāļāļāđāļĒāļĩāđāļĒāļĄāļāļāļāđāļĢāļē!
āļĨāļāļāļ·āđāļ| Related Posts | āļāļāļāļāļĨāļąāļ | āļĄāļļāļĄāļĄāļāļ | āļāļīāļāļāļĢāļĢāļĄ | |
|---|---|---|---|---|
|
How to make Many2many Field as read only?
āđāļāđāđāļāđāļĨāđāļ§
|
2
āļĄāļĩ.āļ. 24
|
4443 | ||
|
3
āļ.āļ. 23
|
8142 | |||
|
1
āļ.āļ. 22
|
10938 | |||
|
1
āļ.āļ. 22
|
3569 | |||
|
1
āļ.āļ. 21
|
8579 |
1. Use the live chat to ask your questions.
2. The operator answers within a few minutes.