From 1c6bd46d216fb8bd46814a57eb2f195fa7ac147b Mon Sep 17 00:00:00 2001 From: Raphael Michel Date: Thu, 24 Aug 2023 18:02:24 +0200 Subject: [PATCH] Order data export: Add product/variation ID (#3542) --- src/pretix/base/exporters/orderlist.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/pretix/base/exporters/orderlist.py b/src/pretix/base/exporters/orderlist.py index 51e714ed9..94e4cf0b7 100644 --- a/src/pretix/base/exporters/orderlist.py +++ b/src/pretix/base/exporters/orderlist.py @@ -549,7 +549,9 @@ class OrderListExporter(MultiSheetListExporter): headers.append(_('End date')) headers += [ _('Product'), + _('Product ID'), _('Variation'), + _('Variation ID'), _('Price'), _('Tax rate'), _('Tax rule'), @@ -656,7 +658,9 @@ class OrderListExporter(MultiSheetListExporter): row.append('') row += [ str(op.item), + str(op.item_id), str(op.variation) if op.variation else '', + str(op.variation_id) if op.variation_id else '', op.price, op.tax_rate, str(op.tax_rule) if op.tax_rule else '',