Fixed an AttributeError when refunding an order

This commit is contained in:
Raphael Michel
2016-03-19 20:43:05 +01:00
parent 0c20d628ab
commit ecdeb7c79f

View File

@@ -376,7 +376,7 @@ class BasePaymentProvider:
:param order: The order object
"""
self.order.log_action('pretix.base.order.refunded')
order.log_action('pretix.base.order.refunded')
return '<div class="alert alert-warning">%s</div>' % _('The money can not be automatically refunded, '
'please transfer the money back manually.')