Skip to Content
เมนู
คุณต้องลงทะเบียนเพื่อโต้ตอบกับคอมมูนิตี้
คำถามนี้ถูกตั้งค่าสถานะ
2 ตอบกลับ
8855 มุมมอง

Details:

if the default list is [('1','1'),('2','2'),('3','3')]  when onchnage execute 1st time the list will be updated to

list [('4','4'),('5','5'),('6','6')]

and then next will be [('7','7'),('8','8'),('9','9'),('0','0')]  like this.

อวตาร
ละทิ้ง
คำตอบที่ดีที่สุด

Hi, 

You can follow following link for this:

https://youtu.be/GPhgxxwprA4

Hope it helps,

Thanks

อวตาร
ละทิ้ง
คำตอบที่ดีที่สุด

You can't do it with a selection field, onchanges for selection fields and for the rest of the fields it will change the value of the field, not the set of values that can be selected on the value, for others fields like relational ones(o2m, m2o, m2m) you could set a domain to be apply for the field to change the resulting set of values to be selected by returning the domain for the field on the onchange, but the selection field is not the case as it's not a relational field and it will not be affected by domains

อวตาร
ละทิ้ง
Related Posts ตอบกลับ มุมมอง กิจกรรม
4
ธ.ค. 15
6269
0
มี.ค. 15
5994
3
ก.ค. 24
4476
1
ก.ย. 23
4980
2
ก.ย. 23
12445