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
Create an account today to enjoy exclusive features and engage with our awesome community!
Registracija| Related Posts | Replies | Rodiniai | Veikla | |
|---|---|---|---|---|
|
2
kov. 24
|
3249 | |||
|
3
liep. 23
|
6598 | |||
|
1
spal. 22
|
9572 | |||
|
1
liep. 22
|
2784 | |||
|
1
geg. 21
|
7265 |
1. Use the live chat to ask your questions.
2. The operator answers within a few minutes.