Odoo Help


[v8] how do 5 dozen(s) equal 61 unit(s)?

on 3/28/15, 1:06 AM 1,078 views

have product. UoM is Unit(s) and a Purchase UoM in dozen(s).

After Purchasing 5 dozen(s) I get a stocklevel of 61 Unit(s)

What do I have to do to get this right? From what I know about Pythong there shouldn't be a problem multiplying 12.0000 * 5.0000. Is it the rounding precision (I think 0.1 by default) that causes such an error?

Why 12.0000 * 5.0000 and not 12.2000 * 5.0000? Where is an error?

on 3/28/15, 7:38 AM

Hi,, Are you using v7 ???

Baiju KS
on 3/28/15, 9:25 AM
@zbik ? 1 dozen IS 12 pcs (also in Odoo), isn't it? Where do you get 12.2000 from?
@Baiju updated my question. It's 8.0
on 3/29/15, 11:39 PM

I misunderstood your problem. In my test system when 1 dozen = 12 pcs all works ok and result = 60

on 3/30/15, 7:55 AM


| 6 5 7
Lodz, Poland

On 3/30/15, 1:22 PM

See this todays commit, may be related.

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

2 follower(s)


Asked: 3/28/15, 1:06 AM
Seen: 1078 times
Last updated: 3/30/15, 1:23 PM