콘텐츠로 건너뛰기
메뉴
커뮤니티에 참여하려면 회원 가입을 하시기 바랍니다.
신고된 질문입니다
2 답글
8879 화면

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

아바타
취소
관련 게시물 답글 화면 활동
4
12월 15
6274
0
3월 15
6004
3
7월 24
4485
1
9월 23
4983
2
9월 23
12465