Přejít na obsah
Menu
You need to be registered to interact with the community.
This question has been flagged
3 Odpovědi
871 Zobrazení

When importing a product that includes a variant in its name (e.g., '.9% SODIUM CHLORIDE (GREEN)'), Odoo does not recognize the variant properly. What steps should be taken to ensure that Odoo correctly identifies and assigns the product variant during import? I already used BoM Lines / Components / External ID 

Error Sample :  No matching record found for external id '.9% SODIUM CHLORIDE (GREEN)' in field 'BoM Lines/Component'






Avatar
Zrušit
Nejlepší odpověď

Hi Marc,

It seems you deleted your post previously.

  1. Export the product variant with fields:
    1. Display Name
    2. External ID
  2. Inside your working spreadsheet, add a sheet just call it "Product Master". Copy and Paste your exported product variant here.
  3. Now, back to your sheet1 where your BoM data is.
    1. add a column on right side of the Product, name it Product / External ID
    2. add VLOOKUP formula to get the EXTERNAL ID from "Product Master" sheet into the column
    3. add a column on right side of the BoM Lines/Component, name it BoM Lines / Component / External ID
    4. add VLOOKUP formula to get the EXTERNAL ID from "Product Master" sheet into the column
    5. ensure no #N/A found, if there is any meaning your product master is somehow not right.
    6. Save your file
  4. Back to Odoo, click on the import and choose the file and sheet you want
  5. Now, you will see there are multiple columns:
    1. Product -> don't import this 
    2. Product / External ID -> choose the corresponding Odoo field - as your screenshot.
    3. Quantity -> choose the corresponding Odoo field - as your screenshot.
    4. BoM Type -> choose the corresponding Odoo field - as your screenshot.
    5. Company -> choose the corresponding Odoo field - as your screenshot.
    6. BoM Lines/Component -> don't import this
    7. BoM Lines / Component / External ID -> choose the corresponding Odoo field - as your screenshot.

You should be able to import by this.
It seems to me that you don't have internal reference set. If you have, then you can import it easier.

Avatar
Zrušit
Nejlepší odpověď

You may use internal referance code of the product during import.

Avatar
Zrušit
Autor Nejlepší odpověď

This is the sample data and error I am getting 

Avatar
Zrušit
Related Posts Odpovědi Zobrazení Aktivita
2
čvc 16
5826
1
led 25
1257
0
pro 23
1473
2
říj 23
2552
4
dub 22
3102