コンテンツへスキップ
メニュー
この質問にフラグが付けられました
2 返信
5545 ビュー

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
アバター
破棄
著作者

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

最善の回答

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


アバター
破棄
最善の回答

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
アバター
破棄
関連投稿 返信 ビュー 活動
1
3月 25
117
4
5月 24
6709
2
7月 22
4255
1
7月 21
4059
2
3月 21
2768