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

I got some help with importing Categories \here so I tried using that same logic on Attributes, and it didn't work.

Can someone lead me in the right direction?

Here is an easy example that I just cannot get to work.

  1. Created new, blank, database.

  2. Installed the Inventory and Purchasing apps.

  3. Turned on Variations in Inventory Settings.

  4. Added "Attribute Name 1" and added the values "Value 1" through "Value 3" so I could clearly see what was getting exported where.

  5. Selected all the Product Category lines, including the ones that were there by default.

  6. Selected Export under the Actions button.

  7. Selected 'Attribute' 'Display Type' 'Variants Creation Mode' and 'Values' fields for export.

  8. Added a few more lines in then downloaded Excel file that follows the same formatting.

  9. Went to Import Records and loaded the file.

  10. When I click on Test it gives this error No matching record found for name 'Attribute name 1: Value 1' in field 'Values' between rows 2 and 4

  11. I would think it would create any records that did not exist. Am I missing a requited field?

  12. Here is a copy/paste from my Excel file.

  13. SequenceAttributeDisplay TypeVariants Creation ModeValues
    0Attribute name 1SelectNeverAttribute name 1: Value 1
    Attribute name 1: Value 2
    Attribute name 1: Value 3
    0Attribute Name 2RadioInstantlyAttribute Name 2: Value A
    Attribute Name 2: Value B
    Attribute Name 2: Value C
    Attribute Name 2: Value D
Imagine profil
Abandonează
Autor

Thank you so much! That did the trick. I really appreciate it.

Cel mai bun răspuns

If the abovementioned solution does not work with you, try the below template


Imagine profil
Abandonează
Cel mai bun răspuns

Had the same problem, took me a while to figure it out (by trial and error)


Problem is probably on the columns "Attribute" and "Variants Creation Mode", those are not the correct columns for Name and Creation Mode.


You can use my template and it should work out (odoo14):


name display_type create_variant Values/Value Values/ExternalID
Structure radio no_variant Steel S:S



Wood S:W
      Plastic S:P
Sheets radio no_variant 1 Sheet SH:1
      2 Sheets SH:2
Imagine profil
Abandonează
Related Posts Răspunsuri Vizualizări Activitate
1
mar. 25
117
4
mai 24
6821
2
iul. 22
4321
1
iul. 21
4121
2
mar. 21
2834