mirror of
https://github.com/pretix/pretix.git
synced 2026-05-03 14:54:04 +00:00
Fix AttributeError usage when creating external refund matching pending sum
This commit is contained in:
@@ -1698,7 +1698,7 @@ class OrderPayment(models.Model):
|
||||
})
|
||||
|
||||
if self.order.pending_sum + r.amount == Decimal('0.00'):
|
||||
self.refund.done()
|
||||
r.done()
|
||||
|
||||
return r
|
||||
|
||||
|
||||
Reference in New Issue
Block a user