Odoo Help

Welcome!

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.

0

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

By
gunnar
on 3/28/15, 1:06 AM 606 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?

zbik
on 3/28/15, 7:38 AM

Hi,, Are you using v7 ???

Baiju
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
gunnar
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

zbik
on 3/30/15, 7:55 AM
0

zbik

--zbik--
5941
| 6 4 7
Lodz, Poland
--zbik--


zbik
On 3/30/15, 1:22 PM

See this todays commit, may be related.

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

2 follower(s)

Stats

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