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

Hi,

I created this model and setup its context so i can call values when overwritting the default_get method and works perfectly, but when i want to create a record from a different model using a many2one field to that first record the context appears as by default and the field doesn't get the default values i want.

How can i pass on the context when calling the create method from a related field on a different model?

Thanks in advance and have a happy new year all.

아바타
취소

Hello Carlos, Have u found any solution to this issue? If yes please post it as i am facing similar problem(While setting context to related field it's value is false by default). Regards,

관련 게시물 답글 화면 활동
3
9월 21
9487
0
3월 21
3355
4
1월 20
3300
0
11월 18
4536
0
4월 17
3750