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.