# How to setup product UOM for stock.picking

By
mehdi.ghezal@critech-services.com
on 11/5/16, 3:03 PM 757 views

I am using Odoo 9 with different unit of mesure for my products.

My goal is to sell product by sqm, buy it by pieces and manage my inventory by pieces with a visualization by sqm ; pieces cannot be divide. Let me illustrate the expected behavior by an example.

I purchase 400 pieces of 140mm x 2000mm, ie. 0.28 sqm ; then in my inventory I have now 400 pieces for a total of 112 sqm. I sell 12 sqm, ie. 42.86 pieces but my pieces cannot be divide then I sell 43 pieces. I validate the picking operation and now I have 357 pieces for a total of 99.96 sqm in my inventory.

This is my setup :

1. Unit of Measure : m2

2. Purchase Unit of Measure : piece

3. Unit m2 and piece are on the same unit category

4. Unit piece is the reference unit of measure for this category with rounding precision = 1.00000

5. Unit m2 is a unit smaller than the reference unit of measure with a rounding precision = 0.00100 and a ratio of 0.28

Everything look like to work as expected ; I can make a purchase order by pieces ; receive products and validate quantity by pieces ; picking use pieces unit also. In my inventory I can see the valuation by sqm and  I can proceed inventory adjustments by pieces. I can also sell my product by sqm with a small side effect about rounding.

The problem is that the picking operation for transfert (delivery to my client) is in sqm and I want to use pieces unit.

Did I make a mistake in my setup ? Or is it a feature not supported by Odoo ? Did you know some module I can use ? Or some clues for starting to develop a new module for my purpose ?

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.

1 follower(s)

### Stats

 Asked: 11/5/16, 3:03 PM Seen: 757 times Last updated: 11/6/16, 8:49 AM