removed dead code
This commit is contained in:
1 parent
9bc170b22e
commit
da666bb83c
1 file changed
-3
@@ -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)
|
||||
|
||||
Reference in new issue
Block a user