Odoo Help


How configurate Purchase Unit of Measure and field "factor" ?

Maurice Agée
on 7/17/15, 2:33 AM 1,037 views

In summary, how to create a ratio between purchasing units and stock units that is unique to each product ?


I buy "raw material" products by kg and I use to mm. (Ex: 25 mm diameter steel bar purchased in kg but stored and consumed at millimeter)

The first idea would be to create a new category of units with two sub units (kg and mm)

But this is complicated when

- For the same diameter that coefficient may vary depending on the purchase and the material density

- I have a hundred different diameters

So the number of categories of unity becomes unmanageable

I would like to know if it is possible for each product ( raw material ) :

- To choose the unit of purchase (ie with a purchase price depending on the unit)

- To choose the management unit in the warehouse

- Enter the factor that connects those two units (which will enable to know the valuation in the warehouse)

and without that one is forced to choose these two units in the same category. (Systematic error)

This requires that the factor is specific to each product and not to each unit.

Thank you in advance for your ideas

No issue....???

We must therefore create a specific module.

Add for each 'product' 3 fields:

- Management unit or storage (equivalent to uom)

- Unit purchases (equivalent to uop)

- Coefficient linking the two previous fields

For this, it is relatively simple.

Then you must change all the calculations:

  - In 'purchase_requisition'

  - In 'mrp'

these are the stages that pose a problem for me.

Thank you for your advice

Maurice Agée
on 9/10/15, 5:56 AM
Xavier Brochard
On 8/13/17, 1:42 PM

Curently (or without additional module) you can only create shared measure categories.

See the documentation at Docs / User / Purchase / "How to purchase in different unit of measures than sales?"


Despite its title that document explain (in its second example) how to create a shared Measure Category where both units have a conversion relationship.

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

1 follower(s)


Asked: 7/17/15, 2:33 AM
Seen: 1037 times
Last updated: 8/13/17, 1:42 PM