summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsbh (Open ERP) <sbh@tinyerp.com>2010-05-24 12:40:03 +0530
committersbh (Open ERP) <sbh@tinyerp.com>2010-05-24 12:40:03 +0530
commitf59249fd8a5debe3cfed70913bdd8bf2302ccdcc (patch)
tree4fe35d20ee7f2dbc109ae7ff3e5decb62763a7e9
parent6ac363ae0149da9ae401f50c3abeeefdc238815d (diff)
[IMP]:point_of_sale:small changed in pricelist
bzr revid: sbh@tinyerp.com-20100524071003-345hzzt2e61mvrh4
-rw-r--r--addons/point_of_sale/pos.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/point_of_sale/pos.py b/addons/point_of_sale/pos.py
index 2ad9319e371..c559f99c4ff 100644
--- a/addons/point_of_sale/pos.py
+++ b/addons/point_of_sale/pos.py
@@ -1090,7 +1090,7 @@ class pos_order_line(osv.osv):
uom_id=p_obj.uom_po_id.id
price = self.pool.get('product.pricelist').price_get(cr, uid,
[pricelist], product_id, qty or 1.0, partner_id,{'uom': uom_id})[pricelist]
-
+ price=price or p_obj.list_price
if price is False:
raise osv.except_osv(_('No valid pricelist line found !'),
_("Couldn't find a pricelist line matching this product" \