Skip to Content
Menu
Musisz się zarejestrować, aby móc wchodzić w interakcje z tą społecznością.
To pytanie dostało ostrzeżenie
3 Odpowiedzi
2453 Widoki

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

Awatar
Odrzuć
Najlepsza odpowiedź

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.

Awatar
Odrzuć
Autor Najlepsza odpowiedź

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

Awatar
Odrzuć
Najlepsza odpowiedź

NICE REPLY

Awatar
Odrzuć