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

Hello,


I can't seem to import attributes, so I went back to basics and used the template from Odoo's documentation.

/


But I still get the same error:


When I choose an option for "When a value cannot be matched", I can import but the result is not correct, all the lines get imported as separate Attributes, instead of 2 attributes with various values.



The result is the same if I remove the "display type" and "variants creation mode" columns.


Any idea where this could come from?


Thanks


Edit: I have tried to create Attributes and Values directly in Odoo, export and reimport as is, I get the same error as showed above.


Edit2: I have also tried with Products and get a similar result, instead of having 1 product with 2 attributes, I get 1 product with 1 attribute and 1 "none" product with the other attribute.

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

Update/Solution: Importing as CSV instead of XLSX works as intended.

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

You have to export attribute and value external id, then try to import it will work.

Ảnh đại diện
Huỷ bỏ
Tác giả

Are these "id" and "value_ids/id" ?
I get the same result.

Sorry I can't post screenshots in comments.

Câu trả lời hay nhất

Hi,

Please refer the below blog 

https://www.cybrosys.com/blog/how-to-import-product-attributes-and-product-variants-in-odoo-17


Hope it helps

Ảnh đại diện
Huỷ bỏ
Tác giả

I have tried your tutorial before posting here and got the same result as shown in my post.