From 66462d0a68370dbabf008e7c498d2b5f046fdd2c Mon Sep 17 00:00:00 2001 From: Oliver Date: Sat, 4 Dec 2021 22:07:55 +1100 Subject: [PATCH] Fix for APIFilter --- InvenTree/order/api.py | 1 + 1 file changed, 1 insertion(+) diff --git a/InvenTree/order/api.py b/InvenTree/order/api.py index cb451b13df..98b9bbe934 100644 --- a/InvenTree/order/api.py +++ b/InvenTree/order/api.py @@ -51,6 +51,7 @@ class POFilter(rest_filters.FilterSet): return queryset class Meta: + model = models.PurchaseOrder fields = [ 'supplier', ]