Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
2 Trả lời
4903 Lượt xem

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 🙂

Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất

Hi Ashutosh,

Try this,

field name = "state" attrs="{'readonly': [('state', 'in', ('resolved','new','in progress')]}"

Thanks

Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất

Hi Ashutosh,

Try this,

field name = "state" attrs="{'readonly': [('state', '=', 'resolved')]}"

Thanks


Ảnh đại diện
Huỷ bỏ
Tác giả

I tried this one .. particular this state is getting readonly .. I need all the states to be readonly

Bài viết liên quan Trả lời Lượt xem Hoạt động
2
thg 3 24
2457
3
thg 7 23
5743
1
thg 10 22
8574
1
thg 7 22
2145
1
thg 5 21
6470