From 4f300f1036add7b92a48be131365e9916649a68c Mon Sep 17 00:00:00 2001 From: Lance Edgar Date: Fri, 27 Mar 2020 19:11:09 -0500 Subject: [PATCH] Prevent exporting "Change" data to CSV --- rattail_corepos/corepos/importing/db/exporters/csv.py | 1 + 1 file changed, 1 insertion(+) diff --git a/rattail_corepos/corepos/importing/db/exporters/csv.py b/rattail_corepos/corepos/importing/db/exporters/csv.py index 5357e39..31cb3a2 100644 --- a/rattail_corepos/corepos/importing/db/exporters/csv.py +++ b/rattail_corepos/corepos/importing/db/exporters/csv.py @@ -38,6 +38,7 @@ class FromCoreToCSV(FromSQLAlchemyToCSVMixin, FromCoreHandler, ToCSVHandler): direction = 'export' local_title = "CSV" FromParent = FromCore + ignored_model_names = ['Change'] # omit the datasync change model @property def host_title(self):