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

Wrong Product Cost Structure Calculation in PDF?

By
Peter
on 3/6/15, 3:36 AM 527 views

We enabled pricelists for the purchase and sales modules and edited the default purchase pricelist, we set the default rule from based on "cost price" to based on "supplier prices on the product form".

We added a supplier to a product and defined the following prices:

Quantity -> Unit Price

1 -> 200

10 -> 180

100 -> 150

1000 -> 100

Now, when we print the product cost structure of the bom which contains this product, the prices are not correct.

Here is the example output in the generated PDF file:

Quantity -> Unit Price

1 -> 200 -> OK

2 -> 200 -> OK

3 -> 200 -> OK

4 -> 180 -> NOT OK

5 -> 180 -> NOT OK 

10 -> 150 -> NOT OK

1000 -> 100 -> OK

The correct behaviour should be:

1 -> 200

2 -> 200

...

9 -> 200

10 -> 180

...

99 -> 180

100 -> 150

...

999 -> 150

1000 -> 100

So, how are the prices calculated? Or is it a bug?

I think this must be a problem with a setting/configuration. I tried it with different odoo versions, even v8, and it still doesn't work.

Peter
on 3/18/15, 11:30 AM

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

1 follower(s)

Stats

Asked: 3/6/15, 3:36 AM
Seen: 527 times
Last updated: 3/18/15, 11:30 AM