Se rendre au contenu
Menu
Cette question a été signalée
1 Répondre
1022 Vues

No matter whether I try to import the products with or without external IDs, Odoo always duplicates the attributes, doubling them. This should not happen and it was not my intention. Here are excerpts from my two import files.


Import for Attributes:

External ID Name Display Type Variant Creation Mode Values / External ID Values / Value
export_color Farbe Radio Instantly export_black Schwarz
export_white Weiß
export_blue Blau
export_green Grün
export_red Rot
export_yellow Gelb
export_size Größe Radio Instantly export_xs XS
export_s S
export_m M
export_l L
export_xl XL
export_xxl XXL


Import for Product Template:

External ID Name Product Attributes / Attribute / External ID Product Attributes / Values / External ID Sales Description
export_template_1 Schreibtisch export_color, export_size export_black, export_blue, export_l, export_xl Beschreibung von Schreibtisch
export_template_2 Tisch export_color, export_size export_blue, export_white, export_green, export_xl, export_m, export_s Beschreibung von Tisch
export_template_3 Stuhl export_color, export_size export_blue, export_green, export_xxl, export_l Beschreibung von Stuhl


In the end, when I try to use the template again to update, at least Odoo does not create new templates, but it still duplicates the attributes


I have been thinking about it — could it be that my Excel file’s headers in the template are wrong? However, when I change them to something else, I only get errors and cannot import the file at all, so I believe the headers should actually be correct.

Avatar
Ignorer

@Fritz Schumacher I have the same issue. Did you find a solution?


@srikesh infotech Why should this work? I tried your suggestion but it still duplicates the attributes for me.

Meilleure réponse

Hi Fritz!!

You can use this template to import the products with attributes. Through this template, attributes will not get duplicated.

Avatar
Ignorer
Publications associées Réponses Vues Activité
2
août 25
190
3
août 25
926
1
août 25
595
3
août 25
881
1
août 25
645