diff options
| author | Goffin Simon <sig@odoo.com> | 2015-02-18 13:16:51 +0100 |
|---|---|---|
| committer | Goffin Simon <sig@odoo.com> | 2015-02-18 14:21:42 +0100 |
| commit | 427835e47fb78ed63412d5f4e36bf1039a7eeb4e (patch) | |
| tree | f1b842bdd985b7cff34dc53b51ce62654debbe78 | |
| parent | 1581c43026a5994d805442fd318a7ca5e12aa88c (diff) | |
[FIX] website_quote: quote template does not take into account variant prices.
In a quote_line, if the product is a product variant, the unit price must be
the sum of the sale price and the price extra.
opw: 625957
| -rw-r--r-- | addons/website_quote/models/order.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/website_quote/models/order.py b/addons/website_quote/models/order.py index 169de81f15a..0e16029ce02 100644 --- a/addons/website_quote/models/order.py +++ b/addons/website_quote/models/order.py @@ -68,7 +68,7 @@ class sale_quote_line(osv.osv): if product_obj.description_sale: name += '\n' + product_obj.description_sale vals.update({ - 'price_unit': product_obj.list_price, + 'price_unit': product_obj.lst_price, 'product_uom_id': product_obj.uom_id.id, 'website_description': product_obj and (product_obj.quote_description or product_obj.website_description) or '', 'name': name, |
