Passa al contenuto
Menu
È necessario essere registrati per interagire con la community.
La domanda è stata contrassegnata
1 Rispondi
6530 Visualizzazioni

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
Abbandona

Use (4, SALE_ORDER_LINE_IDS)

Use [(6, 0, sale_order_line_ids)]

Risposta migliore

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

Avatar
Abbandona
Post correlati Risposte Visualizzazioni Attività
2
dic 18
14262
1
mar 15
19254
2
apr 20
4451
1
nov 17
4712
0
set 17
4250