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 ð
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
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
Hi Ashutosh,
Try this,
field name = "state" attrs="{'readonly': [('state', '=', 'resolved')]}"
Thanks
I tried this one .. particular this state is getting readonly .. I need all the states to be readonly
āļŠāļĢāđāļēāļāļāļąāļāļāļĩāļ§āļąāļāļāļĩāđāđāļāļ·āđāļāđāļāļĨāļīāļāđāļāļĨāļīāļāđāļāļāļąāļāļāļĩāđāļāļāļĢāđāļāļīāđāļĻāļĐāđāļĨāļ°āļĄāļĩāļŠāđāļ§āļāļĢāđāļ§āļĄāļāļąāļāļāļāļĄāļĄāļđāļāļīāļāļĩāđāļāļĩāđāļĒāļāļāđāļĒāļĩāđāļĒāļĄāļāļāļāđāļĢāļē!
āļĨāļāļāļ·āđāļRelated Posts | āļāļāļāļāļĨāļąāļ | āļĄāļļāļĄāļĄāļāļ | āļāļīāļāļāļĢāļĢāļĄ | |
---|---|---|---|---|
How to make Many2many Field as read only?
āđāļāđāđāļāđāļĨāđāļ§
|
|
2
āļĄāļĩ.āļ. 24
|
2214 | |
|
3
āļ.āļ. 23
|
5399 | ||
|
1
āļ.āļ. 22
|
8185 | ||
|
1
āļ.āļ. 22
|
1902 | ||
|
1
āļ.āļ. 21
|
6167 |