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
| 相关帖文 | 回复 | 查看 | 活动 | |
|---|---|---|---|---|
|
2
3月 24
|
3400 | |||
|
3
7月 23
|
6796 | |||
|
1
10月 22
|
9768 | |||
|
1
7月 22
|
2891 | |||
|
1
5月 21
|
7394 |
1. Use the live chat to ask your questions.
2. The operator answers within a few minutes.