Odoo is the world's easiest all-in-one management software. It includes hundreds of business apps:
CRM | e-Commerce | Accounting | Inventory | PoS | Project management | MRP | etc.
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?
UoM and the Secret of the double Inversion !!!
Or the 7 Errors Game : Who can Find the error?
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.
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 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.Register
Odoo Training Center
Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.Test it now
|Asked: 6/10/14, 9:45 PM|
|Seen: 2765 times|
|Last updated: 3/16/15, 8:10 AM|