From 8e11aff88b6f85397e3912cb4c4ac569b37182da Mon Sep 17 00:00:00 2001 From: Cayo Puigdefabregas Date: Mon, 20 Jun 2022 10:51:32 +0200 Subject: [PATCH] add export devices lots --- ereuse_devicehub/inventory/views.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/ereuse_devicehub/inventory/views.py b/ereuse_devicehub/inventory/views.py index a1ed20fa..876ce1b3 100644 --- a/ereuse_devicehub/inventory/views.py +++ b/ereuse_devicehub/inventory/views.py @@ -662,7 +662,7 @@ class ExportsView(View): 'Transfer Code', 'Transfer Date', 'Transfer Creation Date', - 'Transfer Update Date' + 'Transfer Update Date', ] cw.writerow(head) @@ -685,7 +685,9 @@ class ExportsView(View): ] cw.writerow(row) - return self.response_csv(data, "Devices_Incoming_and_Outgoing_Lots_Spreadsheet.csv") + return self.response_csv( + data, "Devices_Incoming_and_Outgoing_Lots_Spreadsheet.csv" + ) class SnapshotListView(GenericMixin):