Перейти к содержимому
Меню
Чтобы взаимодействовать с сообществом, необходимо зарегистрироваться.
Этот вопрос был отмечен
1 Ответить
6356 Представления

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.

Аватар
Отменить
Related Posts Ответы Просмотры Активность
2
дек. 18
14038
1
мар. 15
19021
2
апр. 20
4298
1
нояб. 17
4526
0
сент. 17
4042