Odoo Help


Cost price if public price is not set

Tor Asbjørn
on 10/27/16, 4:56 AM 393 views

How can i make a price list that uses the cost price field if the public price is not set?

Ex. Normaly all product prices is based on costprice + 30%, but in some cases we want to set a fixed price on some products.
We want to Odoo to use the costprice + 30% pricelist, but if the publicprice field is set we want it to use that instead.

Any ideas?


Nilmar Shereef

--Nilmar Shereef--
--Nilmar Shereef--

Python Developer. Odoo Techno Functional Consultant.

Nilmar Shereef
On 10/27/16, 6:03 AM

Product price in SO is taking after checking the price list. So create a new price list and mention those products which you need the price to be computed as cost price + 30%. And select that price list in sale order, so that if you select this product its price gets computed based on the computation mentioned in price list.
For the other case, select the normal public price list generated by odoo. And you have to write customize function here to take cost price if public price is not set. But I think it is a expensive task when we selecting FIFO method in purchase.

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.


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)


Asked: 10/27/16, 4:56 AM
Seen: 393 times
Last updated: 10/27/16, 6:03 AM