mirror of
https://github.com/pretix/pretix.git
synced 2026-05-05 15:14:04 +00:00
Run exporters in repeatable read by default (Z#23173095) (#5500)
* Run exporters in repeatable read by default (Z#23173095) * Update src/pretix/helpers/database.py Co-authored-by: Richard Schreiber <schreiber@rami.io> * Rename parameter, add test * Do not run during tests --------- Co-authored-by: Richard Schreiber <schreiber@rami.io>
This commit is contained in:
@@ -476,6 +476,7 @@ class CSVCheckinList(CheckInListMixin, ListExporter):
|
||||
category = pgettext_lazy('export_category', 'Check-in')
|
||||
description = gettext_lazy("Download a spreadsheet with all attendees that are included in a check-in list.")
|
||||
featured = True
|
||||
repeatable_read = False
|
||||
|
||||
@property
|
||||
def additional_form_fields(self):
|
||||
@@ -673,6 +674,7 @@ class CSVCheckinCodeList(CheckInListMixin, ListExporter):
|
||||
category = pgettext_lazy('export_category', 'Check-in')
|
||||
description = gettext_lazy("Download a spreadsheet with all valid check-in barcodes e.g. for import into a "
|
||||
"different system. Does not included blocked codes or personal data.")
|
||||
repeatable_read = False
|
||||
|
||||
@property
|
||||
def additional_form_fields(self):
|
||||
@@ -743,6 +745,7 @@ class CheckinLogList(ListExporter):
|
||||
category = pgettext_lazy('export_category', 'Check-in')
|
||||
description = gettext_lazy("Download a spreadsheet with one line for every scan that happened at your check-in "
|
||||
"stations.")
|
||||
repeatable_read = False
|
||||
|
||||
@property
|
||||
def additional_form_fields(self):
|
||||
|
||||
@@ -661,6 +661,7 @@ class OrderTaxListReport(MultiSheetListExporter):
|
||||
verbose_name = gettext_lazy('Tax split list')
|
||||
category = pgettext_lazy('export_category', 'Order data')
|
||||
description = gettext_lazy("Download a spreadsheet with the tax amounts included in each order.")
|
||||
repeatable_read = False
|
||||
|
||||
@property
|
||||
def sheets(self):
|
||||
|
||||
Reference in New Issue
Block a user