Pular para o conteúdo
Menu
Esta pergunta foi sinalizada
2 Respostas
611 Visualizações

Hi,

I’m trying to import product.product data from Odoo 12 to Odoo 18, but it doesn’t work. I use the standard import tool, with a CSV file, and I checked that all required fields and categories are there.

Still, the import fails and I don’t understand why.

Has anyone done this before? Any tips?

Thanks a lot!

Avatar
Cancelar

"It doesn't work" - can you share the error message you are getting so readers have more information?

Autor

The error I get is:

"Missing required value for the field 'attribute_id' on a related model [product_template_attribute_line] with multiple rows."

It happens when I try to import products with variants. I think the import file doesn’t provide the right format for attribute_line_ids.

Has anyone managed to import products with variants? I'd really appreciate some help on how to format that correctly.

Thanks!

Melhor resposta

Hi Fanouillere thomas

Before importing your CSV file into Odoo 18, make sure the column names match the ones used in Odoo, as some might have changed. Check that all the data, like dates, true/false values, and prices, are in the correct format. Also, ensure that the product categories in your file already exist in Odoo 18, or use External IDs to link them correctly.

Avatar
Cancelar
Melhor resposta

Hi,

1.Check Field Compatibility: Ensure your CSV field names match Odoo 18, as some may have been renamed or moved.

2.Review Data Types: Verify that data types (e.g., dates, booleans, currencies) are correct and compatible with Odoo 18.

3.Check Product Categories: Make sure the product categories in your CSV exist in Odoo 18, and use External IDs if necessary.


Hope it helps

Avatar
Cancelar
Publicações relacionadas Respostas Visualizações Atividade
2
mai. 25
416
4
mai. 25
3771
1
ago. 24
1469
1
fev. 24
2317
3
out. 23
10384