Odoo Help


Uos coefficient standard functionality

Elie H. Nassif
on 5/5/14, 12:31 PM 7,729 views

Hi All,

Can someone help me in understanding how Uos coefficient functionality works in OpenERP v7.


Med Said BARA

--Med Said BARA--

| 5 5 7
--Med Said BARA--
Med Said BARA
On 5/5/14, 7:37 PM

let's say you bought two rolls of a product P (Tissue or Paper ....) (the unit of measure UoM when purchasing this product is a Roll or Unit ).

Known that, each roll is 2 meters large and 100 meters long.

Now you want to sell it with a another unit (like Meter), this is your UoS.

What you have to do, is to convert the original UoM to the new UoS before the sale.

1 Roll = 1 Unit = 100 meters, 100 is your Coefficient " Unit of Measure -> UOS Coefficient "

Now you can choose the unit meter as your UoS with a coefficient = 100, and begin selling this product in meter.

Another example is, when you purchase a Pallet of a Product B (In your Purchase invoice you get a purchase line like: Description = Product B ---- Quantity = 1 Pallet ---- Unit Price = 1000 € ---- Total Price = ......).

Known that each Palette contains 10 Boxes and each box contains 6 unit of this Product.

Now you have 60 unit of the product B to sell.

Your UoM to Uos coefficielt is 60.

Just fill the UoS and the Coefficient in your Product Form and begin selling this Product.

UoM to UoS or UoS to UoM, the UoS = UoM * Coefficient or UoM = UoS / coefficient

The long Answer

There are three parameters, which you can use:

The UoM, it's the unit of measure you specified when creating the product.

The UoS, it's the unit of sale (if any), you use for selling the product.

The UoP, it's the unit of purchase ( if any), used when purchasing the product.

Generally, UoM, UoS and UoP use the same unit of measure. But it happen that it uses different units, for the following reasons:

  • Your Supplier(s) use another unit

  • Your Customer(s) use a different unit

  • You use different units, before and after manufacturing (if you are a manufacturer)

  • You can also use different units, because of the packaging unit, and so on ...

In OpenERP those three units defaults to the unit "Unit" (also known as PCE) unless otherwise explicitly specified (e.g meter: m, Litre : L, Square meter : , .....).

The default UoM "Unit": means 1 piece, or 1 item, or quantity = 1, of the related product. It's a generic unit of measure. It is used as UoM for products which not need to have a specific unit of measure in trading operations (e.g when selling, Hard Drive, egg, umbrella,...., we don't have to specify a unit of measure from The International System of Units).

What we should remember is:

That all those units are there as a mean of counting (quantification), and the important thing is the "Conversion Coefficient", when moving from one unit to another.

Let's take an example:

I've purchased 10 barrels of Wine, each barrel contain 500 liters.

My purchase order is labeled as follows:

  • Product: Super Wine V7.0

  • Quantity: 10

  • Unit: Barrel

  • Unit Price: 500 €

  • Taxes: 0 %

  • Total price: 5000 €

Now, i want to sell this product to my customers at 620 € the Barrel.

My first customer, needs 2 Liters (just enough for one night!).

I will sell to my customer 0.004 Barrel: 2 Liters = (1 barrel / 500) * 2 = 0.004 Barrel, keeping the same Unit of Measure (Barrel).

UoS = UoM * Coefficient

UoM = UoS / coefficient

Then i will use 500 as my Unit of Measure -> UOS Coeff

I have to fill this Coeff into the Unit of Measure -> UOS Coeff in the sales Tab of the product Form.



And now you can see the result on runbot:


The new unit - Category

Product sale price & UoM


Product UoS & Coeff.


The Purchase Order

The Sale Order

Where is the difference when using or not the UoS ?



Thank you for your answer Said. I created a product A with :
- Purchasing Unit of Measure = Unit - Uos = m - Unit of Measure -> UOS Coeff = 100 Creating a sales order of 1 Product A gives : - Quantity = 1 unit - Quantity Uos = 100 m - Unit Price = 50. So on the sales order line i have product A -- quantity = 1 --Uom = unit -- unit price = 50. After posting the sales order the invoice created shows : Prodcut A -- quantity 100 -- unit price = 0.5 -- total price = 50. I am satisfied with the result,except i need the unit price to remain 50. Is this doable ??

Elie H. Nassif
on 5/6/14, 5:21 AM

The "Purchasing Unit of Measure" must be the UoM (the base "Unit" or "Roll"),

Med Said BARA
on 5/6/14, 10:28 AM

UoS = UoM * Coefficient or UoM = UoS / coefficient. You have to use 100 or 1/100 = 0.01 and 60 or 1/60 = 0.0167

Med Said BARA
on 5/6/14, 3:37 PM

so sorry, I just wanted to correct a typo and it seems this has messed up the whole answer (pictures vanished).

on 5/29/14, 7:11 PM

I've re-uploaded the deleted files.

Med Said BARA
on 6/1/14, 7:32 AM

@Said: I still don;t see any way to have a conversion between buying Barrels (UoP) and using or storing them internally as L (UoM). So as far as I see it there is missing the possibility to apply a Coefficient between purchase and internal use/storage. Do you have any solution or workaround for that?

on 12/19/14, 10:49 PM

Could you be more explicit ?

Med Said BARA
on 12/20/14, 3:46 AM

That is a usefull answer !

on 3/30/15, 9:58 AM

I dont see this option in Odoo v8, is it still available?

Marcio Valenzuela P
on 5/30/16, 12:46 PM

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

2 follower(s)


Asked: 5/5/14, 12:31 PM
Seen: 7729 times
Last updated: 5/19/15, 4:06 AM