From f59249fd8a5debe3cfed70913bdd8bf2302ccdcc Mon Sep 17 00:00:00 2001 From: "sbh (Open ERP)" Date: Mon, 24 May 2010 12:40:03 +0530 Subject: [PATCH] [IMP]:point_of_sale:small changed in pricelist bzr revid: sbh@tinyerp.com-20100524071003-345hzzt2e61mvrh4 --- addons/point_of_sale/pos.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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" \