Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
3 Trả lời
2441 Lượt xem

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

Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất

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.

Ảnh đại diện
Huỷ bỏ
Tác giả Câu trả lời hay nhất

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

Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất

NICE REPLY

Ảnh đại diện
Huỷ bỏ