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

hello,

i explain my problem: i want to complete the society form which there is many2one field with res_partner relation which represent principal contact . At the end of the form there is a notebook which one2many relation to res_partner to add contacts of the society. In the contact form there is a boolean field which add to select if the contat is the principal. I want that if the field is selected put automatically in the society form(above) the contact_id .

Do you think there is a solution for that

thanks a lot

아바타
취소

Sorry I am confused,

Which field is selected to put automatically in the society form (the boolean)?

And where in the society form do you want the contact_id (in the principal contact or in the society contacts one2many)?

작성자 베스트 답변

yes i know i would use on change methode but with wich comportment i want the contact_id in the society contact many2one field which refer to the selected boolean field in the contact form 

아바타
취소
베스트 답변

you can use on_change method

아바타
취소
관련 게시물 답글 화면 활동
partner of society 해결 완료
1
9월 16
2972
2
9월 16
48
3
1월 25
3955
4
6월 20
6231
1
2월 25
1948