mirror of
https://github.com/pretix/pretix.git
synced 2026-05-05 15:14:04 +00:00
Remove some irregularities in 8abfbba9
This commit is contained in:
@@ -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):
|
||||
|
||||
Reference in New Issue
Block a user