This question has been flagged
5 Replies
2644 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?

Avatar
Discard

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

Hi,, Are you using v7 ???

Author
@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

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

Best Answer

See this todays commit, may be related.

Avatar
Discard