From da666bb83c521990a0ba7570353a68260e17b65d Mon Sep 17 00:00:00 2001 From: Bertrand Chenal Date: Tue, 11 Nov 2008 23:59:20 +0100 Subject: [PATCH] removed dead code --- forecast.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/forecast.py b/forecast.py index e70fe810b2..a7d4b36d38 100644 --- a/forecast.py +++ b/forecast.py @@ -227,9 +227,6 @@ class ForecastLine(OSV): unit_price = False if line.forecast.destination.type == 'customer': unit_price = line.product.list_price - elif line.forecast.destination.type == 'supplier': - unit_price = line.product.cost_price - if unit_price: unit_price = uom_obj.compute_price( cursor, user, line.product.default_uom, unit_price, line.uom, context=context)