Fix missing known_errortypes attribute

This commit is contained in:
Raphael Michel
2020-01-25 11:07:42 +01:00
parent 1ccf677ea2
commit 57453a5b00

View File

@@ -877,6 +877,7 @@ class OrderDownload(OrderDownloadMixin, EventViewMixin, OrderDetailMixin, AsyncA
@method_decorator(xframe_options_exempt, 'dispatch')
class OrderPositionDownload(OrderDownloadMixin, EventViewMixin, OrderPositionDetailMixin, AsyncAction, View):
task = generate
known_errortypes = ['OrderError']
def get_error_url(self):
return self.get_position_url()