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
Buat akun sekarang untuk menikmati fitur eksklufi dan agar terlibat dengan komunitas kami!
Daftar| Post Terkait | Replies | Tampilan | Aktivitas | |
|---|---|---|---|---|
|
How to make Many2many Field as read only?
Diselesaikan
|
2
Mar 24
|
4346 | ||
|
3
Jul 23
|
8032 | |||
|
1
Okt 22
|
10843 | |||
|
1
Jul 22
|
3484 | |||
|
1
Mei 21
|
8457 |
1. Use the live chat to ask your questions.
2. The operator answers within a few minutes.