Fix #1301 -- Do not export empty files

This commit is contained in:
Raphael Michel
2019-05-28 09:43:21 +02:00
parent c6390520a7
commit 77be4d835b
4 changed files with 24 additions and 3 deletions

View File

@@ -1655,6 +1655,7 @@ class ExportMixin:
class ExportDoView(EventPermissionRequiredMixin, ExportMixin, AsyncAction, View):
permission = 'can_view_orders'
known_errortypes = ['ExportError']
task = export
def get_success_message(self, value):