Remove some irregularities in 8abfbba9

This commit is contained in:
Raphael Michel
2019-01-10 17:41:18 +01:00
parent 336a34b10b
commit a8836cbeec
3 changed files with 3 additions and 4 deletions

View File

@@ -1173,7 +1173,7 @@ class OrderChangeManager:
return payment_sum - refund_sum
def _recalculate_total_and_payment_fee(self):
total = sum([p.price for p in self.order.positions.all() if not p.canceled]) + sum([f.value for f in self.order.fees.all()])
total = sum([p.price for p in self.order.positions.all()]) + sum([f.value for f in self.order.fees.all()])
payment_fee = Decimal('0.00')
if self.open_payment:
current_fee = Decimal('0.00')