Allow admin to manually change order email

This commit is contained in:
Raphael Michel
2016-09-01 21:51:41 +02:00
parent ae2d551d7d
commit a764e6f55b
7 changed files with 72 additions and 1 deletions

View File

@@ -59,6 +59,8 @@ def pretixcontrol_logentry_display(sender: Event, logentry: LogEntry, **kwargs):
'pretix.event.order.invoice.regenerated': _('The invoice has been regenerated.'),
'pretix.event.order.invoice.reissued': _('The invoice has been reissued.'),
'pretix.event.order.comment': _('The order\'s internal comment has been updated.'),
'pretix.event.order.contact.changed': _('The email address has been changed.'),
'pretix.event.order.payment.changed': _('The payment method has been changed.'),
}
if logentry.action_type in plains:
return plains[logentry.action_type]