Add 'manufacturer' field to SupplierPart object

- ForeignKey link to Company model

(cherry picked from commit acebe61ac5)
This commit is contained in:
Oliver Walters
2020-04-13 16:41:17 +10:00
parent 8b366fc4a0
commit 00315aa855
3 changed files with 5 additions and 4 deletions

View File

@ -115,7 +115,8 @@ class SupplierPartList(generics.ListCreateAPIView):
filter_fields = [
'part',
'supplier'
'supplier',
'manufacturer',
]
search_fields = [