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

Name,Can be Sold,Sale Price,Cost Price,Product Type,website_description,website_published,"uom_id/id"

Aluminum Stool,True,49.00,25.00,Stockable Product,"Website Desicption",True,product.uom/20
Chair,True,89.00,40.00,Stockable Product,"<p style='color:red'>Website Desicption</p>",True,product.uom/product.product_uom_cm

Above is my csv file. When I validate the CSV is show the below error:

  • No matching record found for external id 'product.uom/20' in field 'Unit of Measure' at row 2

    Get all possible values

  • No matching record found for external id 'product.uom/product.product_uom_cm' in field 'Unit of Measure' at row 3

    Get all possible values

 

May I ask how to import product with Unit of Measure by using CSV?

 

Thank you

Awatar
Odrzuć
Najlepsza odpowiedź

Try this Way......

Name,Can be Sold,Sale Price,Cost Price,Product Type,website_description,website_published,"uom_id/id"

Aluminum Stool,True,49.00,25.00,Stockable Product,"Website Desicption",True,product.product_uom_unit

please note the bold letter.

Same way you can use in second product also.

Awatar
Odrzuć
Autor Najlepsza odpowiedź

Thank for your help.

But I want to ask 1 more question. 

If I want to change product.product_uom_unit to another UOM (cm, ton), where I can found the varivle  variable??

Thank you.

Awatar
Odrzuć

You can find uom record under data file of product. you can use those id. go to file product/product_data.xml

Autor

Thanks a lot.