跳至內容
選單
此問題已被標幟
1 回覆
2582 瀏覽次數

   I try to import 1166 sales contract, in my csv file I have these columns: 

- Name, reference, start date, partner, contract_line_ids/product_id/id

But Odoo import all except products

頭像
捨棄
最佳答案

You need to import the product firsts and then you can import the contracts.

An Odoo object is always related to many other objects (e.g., a product is linked to product categories, attributes, vendors, etc.). To import those relations, you need to import the records of the related object first from their own list menu.

You can do this using the name of the related record or its ID. The ID is expected when two records have the same name. In such a case, add ” / ID” at the end of the column title (e.g., for product attributes: Product Attributes / Attribute / ID).


Export and import data — Odoo 15.0 documentation

頭像
捨棄
相關帖文 回覆 瀏覽次數 活動
0
7月 17
3420
1
3月 15
3463
2
3月 15
4512
0
3月 15
4060
3
3月 15
5324