1 parent
fa7c90cbf9
commit
010a51934e
1 file changed
-2
@@ -313,8 +313,6 @@ class Sale(metaclass=PoolMeta):
|
||||
cost_line.unit_price = round_price(unit_price)
|
||||
else:
|
||||
cost_line.unit_price = round_price(cost)
|
||||
if not cost_line.unit_price:
|
||||
cost_line.quantity = 0
|
||||
cost_line.amount = cost_line.on_change_with_amount()
|
||||
return cost_line
|
||||
|
||||
|
||||
Reference in new issue
Block a user