Fix for SalesOrder attachment table

This commit is contained in:
Oliver 2021-07-08 10:48:08 +10:00
parent 939d5838fa
commit 1deab0c040

View File

@ -271,6 +271,10 @@ class SOAttachmentList(generics.ListCreateAPIView, AttachmentMixin):
queryset = SalesOrderAttachment.objects.all() queryset = SalesOrderAttachment.objects.all()
serializer_class = SOAttachmentSerializer serializer_class = SOAttachmentSerializer
filter_backends = [
DjangoFilterBackend,
]
filter_fields = [ filter_fields = [
'order', 'order',
] ]