跳至内容
菜单
此问题已终结
1 回复
6340 查看

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
13994
1
3月 15
18972
2
4月 20
4263
1
11月 17
4490
0
9月 17
3986