Odoo Help


SO different unit of measure

on 4/18/13, 7:10 AM 8,601 views

Socks come in boxes of 6 pairs. Most of the time these are sold per box. Exceptionaly, a box can be opened to sell the socks by pair. But this doesn't happen often.

In the current system (not OpenERP) a decimal can be used. So when 1 pair of socks is sold, then 0,17 x 'box of socks' is sold.

How can this be correctly handled in OpenERP?


Sudhir Arya (ERP Harbor Consulting Services)

--Sudhir Arya (ERP Harbor Consulting Services)--
| 6 8 8
Ahmedabad, India
--Sudhir Arya (ERP Harbor Consulting Services)--

• Co-Founder & Co-Owner at ERP Harbor Consulting Services

• ERP Consultant / ERP Customization / TechnoFunctional Expert

• Sound knowledge in Python, Odoo (Open ERP), XML, PostgreSQL

• Domain knowledge of Sale Management, Purchase Management, Warehouse Management, Manufacturing, Multi Company Configuration & Management, HR Management, Medical Management, Construction Management, Education Management, Point of Sale, Third Party Integrations

• Positive attitude and quick Learner

• Good analytical skill, quick bug and issue tracing and find the solution

• Good knowledge and experience in payment gateway integration with Odoo

• Ready to accept new challenges

• Active Memeber On Stackoverflow 




Sudhir Arya
ERP Harbor Consulting Services
Sudhir Arya (ERP Harbor Consulting Services)
On 4/18/13, 7:18 AM

Go to Settings -> Configuration -> Sales: under Quotations and Sales Orders label in Product Features select Allow using different units of measures.

image description

This will allow you to change UoM in Sale Order Line.

Very Hope full Sir

Ankit H Gandhi(AHG)
on 3/17/16, 10:11 AM

Mohammad Alhashash

--Mohammad Alhashash--
| 5 5 8
Giza, Egypt
--Mohammad Alhashash--


Mohammad Alhashash
On 4/18/13, 10:25 AM

UoS is not the proper method of handling this situation. It is used when units of different categories (ex. weight and units) are used for purchase and sale. You situation is much simpler. Just define a new unit like BOX-6 or HalfDozen that equal 6 Units.

Check this answer for more information and this one too

Ok, that works! Thx... It also explains why 6x2 Euro was 24... Because the demo data already had a ratio of 12 defined. This can be configured in Warehouse > Configuration > Units of Measure.

on 4/18/13, 11:07 AM

Hmmm...I dont know if its not the situation for UoS. We are looking precisely into using UoS because we have 3,000 SKUs. Of those, about 300 are bought in units measuring 20 feet (rods or pipes). They are often sold as units but sometimes cut up and sold in feet per customer demand. If we were to have to create duplicate SKUs for those it would create chaos in our system. Thousands more new SKUs instantly with a basically infinite number of possibilities. We are created a measure called Feet of Rods and associated it to Units via a ratio of 20. This way we can sell off feet or units.

Marcio Valenzuela P
on 6/9/16, 5:44 PM
Viktor Aditya
On 4/18/13, 7:46 AM

You have to make sure that 'Allow using different units of measure' in Setting -> Configuration -> Sales -> Quotations & Sales Orders -> Product Features is checked..

Now, if you want to make a sales order, you can define each product Unit of Measure (UoM) & Unit of Sales (UoS)

I was messing around with that, but can't get that to work.

On product I have set salesprice per pair of socks, say 2 Euro. On product I have set UOS on box with Unit of Measure -> UOS Coeff = 0.17 So 6 pairs per box = 6 x 2 EURO = 12 EURO per box

On SO, when I choose 1 unit, the price is 2 EURO. But when I choose 1 box, the price is 24 Euro...

on 4/18/13, 8:15 AM

I tried your example, and the price i got is 12 euro.. have you set the unit of measure ratio? i made 2 new unit of measure, i named it pair of socks & box of socks... i made the pair of socks as my reference unit in type field, and then in the type field for box of socks i choose bigger than than the reference unit and set the ratio 6..

UNTAR, Viktor Aditya
on 4/18/13, 8:37 AM

Doesn't work for me. It's OpenERP v7.

on 4/18/13, 8:55 AM

About This Community

This platform 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.


Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now

Question tools

4 follower(s)


Asked: 4/18/13, 7:10 AM
Seen: 8601 times
Last updated: 3/18/16, 10:02 AM