Pricelist rule price calculation formula

By
Shahar Or
on 4/24/13, 7:53 AM 3,180 views

Hi,

I think I don't get. I think that because I'm not getting expected results and documentation's example is confusing me.

New Price = Base price * ( 1 + X ) + Y

So, for example, if base price is cost price which is 10, X is a %50 margin I want and Y is 0 so:

New Price = 10 * ( 1 + 0.5 ) + 0
New Price = 10 * 1.5 + 0
New Price = 15

The example in the above linked documentation is beyond my comprehension:

Also note that to fix a price of 60 for the 5 Berrel Keyboards, the formula Price = Base Price x (1 + 1.0) + 60 has been used.

So if Base Price is, like in the example, 100, then:

Price = 100 * ( 1 + 1.0 ) + 60
Price = 100 * 2 + 60
Price = 200 + 60 = 260

But they wanted it to be 60. So I don't get it...

patrick

--patrick--

1963
| 5 4 7
Baarn, Netherlands
--patrick--
patrick
On 4/24/13, 9:23 AM

I am under the impression, that there is a small typo. If you change the 1 to -1, it reads:

50 * (1 + -1) + 60 = 50 * 0 + 60 = 60

or

100 * (1 + -1) + 60 = 100 * 0 + 60 = 60

Shahar Or
on 4/24/13, 9:37 AM

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.

Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

1 follower(s)

Stats

 Asked: 4/24/13, 7:53 AM Seen: 3180 times Last updated: 3/16/15, 8:10 AM