2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-06-30 18:50:53 +00:00

Update requirements (#3228)

* Remove stat context variables

* Revert "Remove stat context variables"

This reverts commit 0989c308d0.

* remove old backport

* move requirements

* move isort

* move migrations-tests

* add pip-tools as req and add hook

* Use hashes and also run when txt files are added

* Update to hashes in requirements

* update requirements install path

* remove allauth-2fa for a test

* install dev-requirements

* re-enable allauth

* remove hashes from pre normal setup

* Remove version bindings if they are the laest

* move depencies to upper bound

* fix django-money

* remove windows specific requirements

* also install dependencies

* update markdownify

* remove django-admin-shell

* remove unneeded packages

* add docs

* remove pins and fix pre-commit pipeline

* pin django-money

* really remove admin shell

* return default behaviour for money serializer

* pip fix

* update filter name

* set decimal for output

* add migrations

* pin coveralls

* update requirements

Co-authored-by: Oliver Walters <oliver.henry.walters@gmail.com>
This commit is contained in:
Matthias Mair
2022-06-28 14:12:00 +02:00
committed by GitHub
parent 1a90d06acc
commit cf70e4220f
23 changed files with 652 additions and 87 deletions

View File

@ -70,7 +70,7 @@ class GeneralExtraLineList:
'reference'
]
filter_fields = [
filterset_fields = [
'order',
]
@ -540,7 +540,7 @@ class SalesOrderAttachmentList(AttachmentMixin, ListCreateDestroyAPIView):
rest_filters.DjangoFilterBackend,
]
filter_fields = [
filterset_fields = [
'order',
]
@ -672,7 +672,7 @@ class SalesOrderList(APIDownloadMixin, ListCreateAPI):
'reference': ['reference_int', 'reference'],
}
filter_fields = [
filterset_fields = [
'customer',
]
@ -814,7 +814,7 @@ class SalesOrderLineItemList(ListCreateAPI):
'reference',
]
filter_fields = [
filterset_fields = [
'order',
'part',
]
@ -990,7 +990,7 @@ class SalesOrderAllocationList(ListAPI):
]
# Default filterable fields
filter_fields = [
filterset_fields = [
]
@ -1069,7 +1069,7 @@ class PurchaseOrderAttachmentList(AttachmentMixin, ListCreateDestroyAPIView):
rest_filters.DjangoFilterBackend,
]
filter_fields = [
filterset_fields = [
'order',
]