This question has been flagged
2 Replies
4110 Views

Hi

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!!!

Avatar
Discard

you can enter unit price on each sales order line manually or you can add a discount percentage to the list price that is added to the sales order line product or you can create a new price list apart from the public price list (Sale>Configuration>Pricelists>Pricelists)which will give discounts to specific customers (you will have to assign this price list to the necessary customers) in each customer's address

Best Answer

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.

Avatar
Discard
Best Answer

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

Avatar
Discard