removed dead code

This commit is contained in:
Bertrand Chenal committed 2008-11-11 23:59:20 +01:00
1 parent 9bc170b22e
commit da666bb83c
1 file changed
-3
-3
View File
@@ -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)