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

Hello , I have been trying to make changes in the property of the selection field values. Like I have 2 fields , 1st is many 2one and other is selection field having 3 values. Now my requirement is that when I set a value in the many2one field, the 2 values in the selection field disappers and only 1 field remain in the selection field.

-> I tried to use invisible="1" when defining the field. But it didnot work. I need to do this.

-> Or I was thinking to use function like onchange function but the main issue is to set the property of selection field as invisible.

Please guide me to achieve this or any alternative for doing such thing. Thanks n regards

아바타
취소
베스트 답변

hi..

are you trying to say, the values in the selection list has to be filtered?

If so, write onchange_event for 1st field, and pass domain through onchange_event to your selection field...

아바타
취소
작성자

I already have used an onchange_function with the 1st field, how cani I use onchnege_event with it. Will that be possible?

관련 게시물 답글 화면 활동
1
8월 15
3035
2
3월 15
5338
1
3월 15
4179
1
3월 15
8722
2
4월 21
17040