From 4f2a06d4159a59529db5b21166e63c3122a658dc Mon Sep 17 00:00:00 2001 From: ced <> Date: Tue, 20 Feb 2007 14:33:28 +0000 Subject: [PATCH] PRODUCT_EXTENDED: don't use seller price for bom price bzr revid: ced-368efe8be1d2151f240cd3ad2e0e4f5c9a108063 --- addons/product_extended/product_extended.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/addons/product_extended/product_extended.py b/addons/product_extended/product_extended.py index 2961687e4d8..417aa132e33 100644 --- a/addons/product_extended/product_extended.py +++ b/addons/product_extended/product_extended.py @@ -123,9 +123,6 @@ class product_product(osv.osv): if no_child_bom: other_bom = bom_obj.browse(cr, uid, no_child_bom)[0] price += bom.product_qty * self._calc_price(cr, uid, other_bom) - elif bom.product_id.seller_ids: - pricelist_id = bom.product_id.seller_ids[0].name.property_product_pricelist_purchase[0] - price += pooler.get_pool(cr.dbname).get('product.pricelist').price_get(cr, uid, [pricelist_id], bom.product_id.id, bom.product_qty, 'standard')[pricelist_id] else: price += bom.product_qty * bom.product_id.standard_price