Skip to Content
Menu
Musisz się zarejestrować, aby móc wchodzić w interakcje z tą społecznością.
To pytanie dostało ostrzeżenie
3 Odpowiedzi
960 Widoki

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'






Awatar
Odrzuć
Najlepsza odpowiedź

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.

Awatar
Odrzuć
Najlepsza odpowiedź

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

Awatar
Odrzuć
Autor Najlepsza odpowiedź

This is the sample data and error I am getting 

Awatar
Odrzuć
Powiązane posty Odpowiedzi Widoki Czynność
2
lip 16
5922
1
sty 25
1365
0
gru 23
1553
2
paź 23
2634
4
kwi 22
3239