Skip to Content
Menu
This question has been flagged
1 Reply
1394 Views

   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

Avatar
Discard
Best Answer

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

Avatar
Discard
Related Posts Replies Views Activity
0
Jul 17
2121
1
Mar 15
2496
2
Mar 15
3641
0
Mar 15
2766
3
Mar 15
4070