From 35892bc1868f750aec564bd1ecab84f9bbb3bbb0 Mon Sep 17 00:00:00 2001 From: Mira Weller Date: Fri, 24 Jan 2025 16:36:43 +0100 Subject: [PATCH] Register missing LogEntryTypes --- src/pretix/control/logdisplay.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/pretix/control/logdisplay.py b/src/pretix/control/logdisplay.py index 5e7a13a7a1..dc9d00af3a 100644 --- a/src/pretix/control/logdisplay.py +++ b/src/pretix/control/logdisplay.py @@ -351,6 +351,7 @@ class CheckinErrorLogEntryType(OrderLogEntryType): return str(plain_without_dt).format_map(data) +@log_entry_types.new('pretix.event.checkin') class CheckinLogEntryType(CheckinErrorLogEntryType): def display(self, logentry: LogEntry, data): if data.get('type') == Checkin.TYPE_EXIT: @@ -377,6 +378,7 @@ class CheckinLogEntryType(CheckinErrorLogEntryType): ) +@log_entry_types.new() class OrderConsentLogEntryType(OrderLogEntryType): action_type = 'pretix.event.order.consent' @@ -386,6 +388,7 @@ class OrderConsentLogEntryType(OrderLogEntryType): ) +@log_entry_types.new() class OrderCanceledLogEntryType(OrderLogEntryType): action_type = 'pretix.event.order.canceled' @@ -397,6 +400,7 @@ class OrderCanceledLogEntryType(OrderLogEntryType): return _('The order has been canceled.') +@log_entry_types.new() class OrderPrintLogEntryType(OrderLogEntryType): action_type = 'pretix.event.order.print'