Odoo Help

0

Wrong Product Cost Structure Calculation in PDF?

By
Peter
on 3/6/15, 3:36 AM 646 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

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.

Register

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

1 follower(s)

Stats

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