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

Hi I am trying to pass the value from a Many2many field to a Many2many field using the context attribute in the view.


<field name="vehicules" widget="one2many_list" context="{ 'default_problems':(1, problems)}">

default_problems and problems are both Many2many fields, I tried also (6,0,problems), but only 1 element of the Many2many field is passed from problems to default_problems.

Please some help, I am blocked with this and can't find a solution.
아바타
취소
작성자 베스트 답변

help me please

아바타
취소
관련 게시물 답글 화면 활동
3
8월 25
7790
0
1월 21
2506
1
12월 23
18269
2
8월 18
4058
0
3월 15
5262