Se rendre au contenu
Menu
Cette question a été signalée
1 Répondre
2597 Vues

   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
Ignorer
Meilleure réponse

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
Ignorer
Publications associées Réponses Vues Activité
0
juil. 17
3439
1
mars 15
3469
2
mars 15
4523
0
mars 15
4075
3
mars 15
5347