Přejít na obsah
Menu
You need to be registered to interact with the community.
This question has been flagged
1 Odpovědět
6299 Zobrazení

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
Zrušit

Use (4, SALE_ORDER_LINE_IDS)

Use [(6, 0, sale_order_line_ids)]

Nejlepší odpověď

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

Avatar
Zrušit
Related Posts Odpovědi Zobrazení Aktivita
2
pro 18
13942
1
bře 15
18902
2
dub 20
4205
1
lis 17
4426
0
zář 17
3942