Odoo is the world's easiest all-in-one management software. It includes hundreds of business apps:
CRM | e-Commerce | Accounting | Inventory | PoS | Project management | MRP | etc.
When taking a look at the object product.product, there exists the field "list_price" in which we introduce the price of each product, but then when I am in order line, there appears this price with the name of "unit_price". Does anyone know how this relation is made..or more in general, how can I change "unit_price" baesd on other fields??
Thanks in advance!!!
There is no relation between list_price of product and unit_price of sale_order_line. For a sale order line, if product is specified then product's list_price value will be loaded to unit_price. As kaynis said, its value will change according to the tax type. Also its value is dependents on the pricelist we are using, the discount value etc.
list price is unit price depending on your settings. They can be the same value or have a difference based on your tax setting. The unit price is your list price minus tax if you set you ticked the "include in price" box in tax code. unit price is list price if you did not tick the box in your tax code. unit price = list price or unit price = list price - tax code % value. The system thus calculate unit price based on your list price (automatic calculation). eg discounts, public pricelist
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
|Asked: 8/6/13, 5:08 AM|
|Seen: 1082 times|
|Last updated: 3/16/15, 8:10 AM|