2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-07-05 13:10:57 +00:00

[FR] Add "priority" field to BuildOrder (#4225)

* [FR] Add "priority" field to BuildOrder
Fixes #3059

* Add priority to the frontend

* add field to serializer

* bump version
This commit is contained in:
Matthias Mair
2023-01-24 23:37:05 +01:00
committed by GitHub
parent 61e5244789
commit 428e939b1d
8 changed files with 54 additions and 1 deletions

View File

@ -101,6 +101,7 @@ class BuildList(APIDownloadMixin, ListCreateAPI):
'completed',
'issued_by',
'responsible',
'priority',
]
ordering_field_aliases = {
@ -115,6 +116,7 @@ class BuildList(APIDownloadMixin, ListCreateAPI):
'part__name',
'part__IPN',
'part__description',
'priority',
]
def get_queryset(self):