InvenTree/InvenTree/company
Oliver 258957c14c
SupplierPart availability (#3148)
* Adds new fields to the SupplierPart model:

- available
- availability_updated

* Allow availability_updated field to be blank

* Revert "Remove stat context variables"

This reverts commit 0989c308d0.

* Increment API version

* Adds availability information to the SupplierPart API serializer

- If the 'available' field is updated, the current date is added to the availability_updated field

* Add 'available' field to SupplierPart table

* More JS refactoring

* Add unit testing for specifying availability via the API

* Display availability data on the SupplierPart detail page

* Add ability to set 'available' quantity from the SupplierPart detail page

* Revert "Revert "Remove stat context variables""

This reverts commit 3f98037f79.
2022-06-08 21:49:07 +10:00
..
fixtures fix endline 2022-05-20 13:35:07 +02:00
migrations SupplierPart availability (#3148) 2022-06-08 21:49:07 +10:00
templates/company SupplierPart availability (#3148) 2022-06-08 21:49:07 +10:00
__init__.py Docstring checks in QC checks (#3089) 2022-06-02 01:37:39 +10:00
admin.py Docstring checks in QC checks (#3089) 2022-06-02 01:37:39 +10:00
api.py Adds API mixin for "bulk delete" (#3146) 2022-06-07 07:25:12 +10:00
apps.py Docstring checks in QC checks (#3089) 2022-06-02 01:37:39 +10:00
forms.py Docstring checks in QC checks (#3089) 2022-06-02 01:37:39 +10:00
models.py SupplierPart availability (#3148) 2022-06-08 21:49:07 +10:00
serializers.py SupplierPart availability (#3148) 2022-06-08 21:49:07 +10:00
test_api.py SupplierPart availability (#3148) 2022-06-08 21:49:07 +10:00
test_migrations.py Docstring checks in QC checks (#3089) 2022-06-02 01:37:39 +10:00
test_views.py Docstring checks in QC checks (#3089) 2022-06-02 01:37:39 +10:00
tests.py Docstring checks in QC checks (#3089) 2022-06-02 01:37:39 +10:00
urls.py Docstring checks in QC checks (#3089) 2022-06-02 01:37:39 +10:00
views.py Add more checks to pre-commit (#3132) 2022-06-06 08:56:52 +10:00