Siirry sisältöön
Menu
Sinun on rekisteröidyttävä, jotta voit olla vuorovaikutuksessa yhteisön kanssa.
Tämä kysymys on merkitty
1 Vastaa
6509 Näkymät

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.

Avatar
Hylkää

Use (4, SALE_ORDER_LINE_IDS)

Use [(6, 0, sale_order_line_ids)]

Paras vastaus

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

Avatar
Hylkää
Aiheeseen liittyviä artikkeleita Vastaukset Näkymät Toimenpide
2
jouluk. 18
14247
1
maalisk. 15
19220
2
huhtik. 20
4440
1
marrask. 17
4687
0
syysk. 17
4226