Odoo Help

Welcome!

This community is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.

0

About import product CSV

By
Ringo Lam
on 10/9/14, 5:55 AM 1,226 views

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

2
Piyush Suva
On 10/9/14, 6:55 AM

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.

0
Ringo Lam
On 10/9/14, 9:20 PM

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.

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

Piyush Suva
on 10/10/14, 8:38 AM

Thanks a lot.

Ringo Lam
on 10/16/14, 5:16 AM

Your Answer

Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!

About This Community

This community is for professionals and enthusiasts of our products and services. Read Guidelines

Question tools

1 follower(s)

Stats

Asked: 10/9/14, 5:55 AM
Seen: 1226 times
Last updated: 3/16/15, 8:10 AM