Fixes for PurchaseOrder attachment table
This commit is contained in:
parent
41268d92bf
commit
939d5838fa
|
|
@ -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):
|
||||
"""
|
||||
|
|
|
|||
Loading…
Reference in New Issue