diff --git a/InvenTree/order/api.py b/InvenTree/order/api.py index 04414e3db3..889caa7a35 100644 --- a/InvenTree/order/api.py +++ b/InvenTree/order/api.py @@ -593,6 +593,14 @@ class POAttachmentList(generics.ListCreateAPIView, AttachmentMixin): queryset = PurchaseOrderAttachment.objects.all() serializer_class = POAttachmentSerializer + filter_backends = [ + DjangoFilterBackend, + ] + + filter_fields = [ + 'order', + ] + class POAttachmentDetail(generics.RetrieveUpdateDestroyAPIView, AttachmentMixin): """