Skip to Content
Meniu
Trebuie să fiți înregistrat pentru a interacționa cu comunitatea.
Această întrebare a fost marcată
2 Răspunsuri
116 Vizualizări

Hello,

While importing attributes , how to prevent duplicate entries when attribute already defined but i want to import attribute values in that attribute


example 

already having attribute as strength with 10 ml but again i want to import data in strength attribute as 100 ml, 200 ml, etc...


Odoo creating new entries as strength and getting 2 attribute as strengths as 

  1. strength values 10ml
  2. strength values 100 ml , 200 ml

while importing i want 100 ml  and 200 ml in 1 strength

Imagine profil
Abandonează
Autor Cel mai bun răspuns

Thank you I did the same and done successfully 

Imagine profil
Abandonează
Cel mai bun răspuns

Hi,

When importing product attributes in Odoo, duplicates appear because Odoo creates a new attribute if it only sees the name again. To avoid this, reference the existing attribute’s External ID in your import file and add only the new values (e.g., 100 ml, 200 ml). Without the External ID, Odoo assumes it’s a new attribute and duplicates it.


Hope it helps



Imagine profil
Abandonează