コンテンツへスキップ
メニュー
この質問にフラグが付けられました
1 返信
6515 ビュー

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
14254
1
3月 15
19229
2
4月 20
4446
1
11月 17
4701
0
9月 17
4232