Skip to Content
Menu
Musisz się zarejestrować, aby móc wchodzić w interakcje z tą społecznością.
To pytanie dostało ostrzeżenie
1 Odpowiedz
6309 Widoki

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.

Awatar
Odrzuć

Use (4, SALE_ORDER_LINE_IDS)

Use [(6, 0, sale_order_line_ids)]

Najlepsza odpowiedź

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

Awatar
Odrzuć
Powiązane posty Odpowiedzi Widoki Czynność
2
gru 18
13962
1
mar 15
18928
2
kwi 20
4209
1
lis 17
4429
0
wrz 17
3950