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

@@ -421,7 +421,7 @@ class Order(LockModel, LoggedModel):
return (
self.status == Order.STATUS_PENDING
or (self.status == Order.STATUS_PAID and self.total == Decimal('0.00'))
) and self.event.settings.cancel_allow_user and cancelable
) and self.event.settings.cancel_allow_user and cancelable and self.positions.exists()
@property
def is_expired_by_time(self):