From 78d8e49990fff5ca76737145648cf53678b2a147 Mon Sep 17 00:00:00 2001 From: Raphael Michel Date: Fri, 19 May 2023 09:23:34 +0200 Subject: [PATCH] Reports: Add new "accounting report" (#3314) --- .../pretixcontrol/orders/overview.html | 8 + src/pretix/plugins/checkinlists/exporters.py | 1 + .../plugins/reports/accountingreport.py | 822 ++++++++++++++++++ src/pretix/plugins/reports/exporters.py | 55 +- src/pretix/plugins/reports/signals.py | 11 +- 5 files changed, 892 insertions(+), 5 deletions(-) create mode 100644 src/pretix/plugins/reports/accountingreport.py diff --git a/src/pretix/control/templates/pretixcontrol/orders/overview.html b/src/pretix/control/templates/pretixcontrol/orders/overview.html index fcf6267abe..3685840427 100644 --- a/src/pretix/control/templates/pretixcontrol/orders/overview.html +++ b/src/pretix/control/templates/pretixcontrol/orders/overview.html @@ -45,6 +45,14 @@ {% bootstrap_field filter_form.date_until layout='inline' %} +

+ {% blocktrans trimmed %} + Filtering this report by date is not recommended as it might lead to misleading information since this + report only sees the current state of any order, not any changes made to the order previously. + This date filter might be removed in the future. + Use the "Accounting report" in the export section instead. + {% endblocktrans %} +