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'
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- CRM
- e-Commerce
- Comptabilité
- Inventaire
- PoS
- Project
- MRP
Cette question a été signalée
3
Réponses
812
Vues
Hi Marc,
It seems you deleted your post previously.
- Export the product variant with fields:
- Display Name
- External ID
- Inside your working spreadsheet, add a sheet just call it "Product Master". Copy and Paste your exported product variant here.
- Now, back to your sheet1 where your BoM data is.
- add a column on right side of the Product, name it Product / External ID
- add VLOOKUP formula to get the EXTERNAL ID from "Product Master" sheet into the column
- add a column on right side of the BoM Lines/Component, name it BoM Lines / Component / External ID
- add VLOOKUP formula to get the EXTERNAL ID from "Product Master" sheet into the column
- ensure no #N/A found, if there is any meaning your product master is somehow not right.
- Save your file
- Back to Odoo, click on the import and choose the file and sheet you want
- Now, you will see there are multiple columns:
- Product -> don't import this
- Product / External ID -> choose the corresponding Odoo field - as your screenshot.
- Quantity -> choose the corresponding Odoo field - as your screenshot.
- BoM Type -> choose the corresponding Odoo field - as your screenshot.
- Company -> choose the corresponding Odoo field - as your screenshot.
- BoM Lines/Component -> don't import this
- 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.
You may use internal referance code of the product during import.
This is the sample data and error I am getting
Vous appréciez la discussion ? Ne vous contentez pas de lire, rejoignez-nous !
Créez un compte dès aujourd'hui pour profiter de fonctionnalités exclusives et échanger avec notre formidable communauté !
S'inscrirePublications associées | Réponses | Vues | Activité | |
---|---|---|---|---|
|
2
juil. 16
|
5774 | ||
|
1
janv. 25
|
1175 | ||
|
0
déc. 23
|
1415 | ||
|
2
oct. 23
|
2440 | ||
|
4
avr. 22
|
3058 |