Odoo Help


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.


"unit of measure rounding does not allow you to ship" error with my UoM

Andri Halim Gunawan
on 6/10/14, 9:45 PM 2,622 views

I created a new UoM called "Dos @ 12 Kg": Category weight and bigger than the reference UoM (Kg) with ratio = 12 with rounding precision 0.010
The system automatically changes its ratio to 12.000000000048

When I tried to deliver a product with this UoM, it causes a problem below:

The unit of measure rounding does not allow you to ship "100.0 Dos @ 12Kg", only rounding of "0.0 Dos @ 12Kg" is accepted by the Unit of Measure.

I have created other UoM similar to this "Dos @ 12Kg" but only this one is causing problems. What am I doing wrong?

I also have the same problem any help ?

Shokri Alnajjar
on 8/21/14, 9:01 AM

Med Said BARA

--Med Said BARA--
| 5 5 7
--Med Said BARA--
Med Said BARA
On 8/21/14, 10:55 AM

UoM and the Secret of the double Inversion !!!

Or the 7 Errors Game : Who can Find the error?

cm vs m  https://www.dropbox.com/s/7k8yuu7acxif1hw/cm vs m.png?dl=0


km vs m https://www.dropbox.com/s/58pu8ye47td5gxa/km vs m.png?dl=0


Dozen UoM  https://www.dropbox.com/s/t9q5jxpkgkhtycf/Dozen UoM.png?dl=0


Bigger than and Smaller Than: LET ME SEE YOU !!!  https://www.dropbox.com/s/goltw2x06h9bae2/Let me see you.png?dl=0


The Arithmetic (From the product.py):

Ratio  = 12

factor_inv = 1 / Ratio = 0.083333333333

1 / factor_inv = 1 / 0.083333333333 = 12,000000000048 = Ratio


Let's play now: With the Wrong Tooltip and the Double Inversion

Ratio Smaller than   https://www.dropbox.com/s/4s0ru3z60iv4low/Factor - Smaller than.png?dl=0


Ratio Bigger than   https://www.dropbox.com/s/35wonm604bpil0o/Factor - Bigger than.png?dl=0


Added on 11/23/2014


After the Odoo updates on 08, 09 and 16 October 2014 this issue (and other issues related to UoM conversion) can be considered as (partially) solved.


Sorry for the error, now corrected: ZERO replaced by ONE in Greater than and Smaller than.

Med Said BARA
on 8/21/14, 5:01 PM

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

3 follower(s)


Asked: 6/10/14, 9:45 PM
Seen: 2622 times
Last updated: 3/16/15, 8:10 AM