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
์ง๊ธ ๋ฐ๋ก ๊ฐ์ ํ์ฌ ๋ ์ ์๋น์ค๋ฅผ ์ด์ฉํด๋ณด๊ณ ํน๋ณํ ์ปค๋ฎค๋ํฐ์ ์ํตํ์ธ์!
๊ฐ์| ๊ด๋ จ ๊ฒ์๋ฌผ | ๋ต๊ธ | ํ๋ฉด | ํ๋ | |
|---|---|---|---|---|
|
How to make Many2many Field as read only?
ํด๊ฒฐ ์๋ฃ
|
2
3์ 24
|
3371 | ||
|
3
7์ 23
|
6744 | |||
|
1
10์ 22
|
9709 | |||
|
1
7์ 22
|
2852 | |||
|
1
5์ 21
|
7355 |
1. Use the live chat to ask your questions.
2. The operator answers within a few minutes.