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
Crea un account oggi per scoprire funzionalità esclusive ed entrare a far parte della nostra fantastica community!
Registrati| Post correlati | Risposte | Visualizzazioni | Attività | |
|---|---|---|---|---|
|
2
mar 24
|
3369 | |||
|
3
lug 23
|
6739 | |||
|
1
ott 22
|
9708 | |||
|
1
lug 22
|
2844 | |||
|
1
mag 21
|
7349 |
1. Use the live chat to ask your questions.
2. The operator answers within a few minutes.