Odoo Aide


2 Réponses
Dharti Ratani (dhr) Inde
26/09/2014 04:33

The reason for such a behaviour is that only one "master" conversion factor for each UoM (with a decimal precision of 12 digits) is stored, and that factor is the "smaller than" ratio. So for eg when you configure a UoM that is 1609.34 times bigger than the reference UoM, the system stores that it is 1/1609.34 times smaller, i.e. 0.0006213727366498068 smaller, rounded to 12 digits as 0.000621372737.
What is displayed in the ratio when you choose "bigger than" is computed on-the-fly as the inverse of that master factor... so it leads to a small difference. It is not a big issue because 1609.339999093008 is not stored nor used anywhere in the system; all UoM conversions will work as expected based on the 0.000621372737 ratio, because everything is rounded afterwards to an appropriate decimal accuracy.


Med Said BARA Algérie

--Med Said BARA--

| 6 5 10
Guelma, Algérie
--Med Said BARA--

Med Said BARA Algérie
26/09/2014 05:55

This is the case for all Ratios not "multiple of ten".

I really think that there is a misuse of the conversion Factor, and probably a wrong logic in the UoM conversion algorithm.

Can you take a look at the response to this question and tell me what you think.


Poser une question
Keep Informed
1 Abonné(e)s
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