Passa al contenuto
Menu
È necessario essere registrati per interagire con la community.
La domanda è stata contrassegnata
3 Risposte
2443 Visualizzazioni

Hi . please can anyone tell me how i can import a list of new products in odoo 7 instead of creating each product?

Avatar
Abbandona
Risposta migliore

Easiest path I can think of is to export the product list view first. Choose the fields that you want to import.  Remember to choose all Required fields that have no defaults. Remember to use Import Compatible option when doing so.

Then you can re-use the exported file (especially the headers) to load the new products.  Several things that worth noting: many2one and many2many fields are identified using either their XML ID or Database ID (id column) or name.  It is saver to use XML ID so that the same file can be "reused" in multiple database.  To identify the method of choosing many2one and many2many field you can specify /id (XML ID) or /.id (Database ID) or nothing after the field name.

one2many fields can be created with multiple rows where the parent's value will be contained in the first row only.

Avatar
Abbandona
Autore Risposta migliore

Thanks for your answer i will give it a try and let you know

Avatar
Abbandona
Risposta migliore

NICE REPLY

Avatar
Abbandona