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

i have seen in the doc, for a one2many field :

(0, 0, { values }) link to a new record that needs to be created with the given values dictionary

My question is how to link to a new record that NOT needs to be created with the given values dictionary. Indeed i have a sale order line which is already created, and i want to link this order line to a new object.

아바타
취소

Use (4, SALE_ORDER_LINE_IDS)

Use [(6, 0, sale_order_line_ids)]

베스트 답변

You can find more about it at For a one2many field.

아바타
취소
관련 게시물 답글 화면 활동
2
12월 18
14286
1
3월 15
19272
2
4월 20
4484
1
11월 17
4730
0
9월 17
4269