Skip to Content
Menu
This question has been flagged
2 Replies
3858 Views

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
Avatar
Discard
Author

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

Best Answer

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


Avatar
Discard
Best Answer

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
Avatar
Discard
Related Posts Replies Views Activity
4
May 24
4871
2
Jul 22
3250
1
Jul 21
2826
2
Mar 21
1638
2
Aug 19
3036