2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-05-03 13:58:47 +00:00
Oliver 9c594ed52b
Part table stock filtering (#4462)
* Update PartSerializer queryset annotation

- Add 'total_stock' (in_stock + variant_stock)
- Update 'unallocated_stock' to use total_stock

* Allow API filtering by total_in_stock value

* Refactor partStockLabel method

- We'll use this in the partTable also
- Allow us to prevent further API calls

* Cleanup loadPartTable

* Refactor part variant table

* More updates to part badge function

* Bump API version

* js linting
2023-03-08 13:59:51 +11:00
..
2023-02-10 10:39:57 +11:00
2023-03-08 13:59:51 +11:00
2022-05-20 13:35:07 +02:00
2022-05-20 13:35:07 +02:00
2022-05-20 13:35:07 +02:00
2023-01-08 07:51:16 +11:00
2022-05-20 13:35:07 +02:00
2022-05-20 13:35:07 +02:00
2022-05-20 13:35:07 +02:00
2022-11-05 01:05:54 +11:00
2022-05-20 13:35:07 +02:00
2022-11-14 15:58:22 +11:00
2022-05-20 13:35:07 +02:00
2022-05-20 13:35:07 +02:00
2022-05-20 13:35:07 +02:00
2022-05-20 13:35:07 +02:00
2022-05-20 13:35:07 +02:00
2021-05-06 14:33:03 +02:00
2022-05-20 13:35:07 +02:00
2022-05-20 13:20:55 +02:00
2022-05-20 13:35:07 +02:00
2022-05-20 13:35:07 +02:00
2022-05-20 13:35:07 +02:00
2022-11-14 15:58:22 +11:00
2022-05-20 13:35:07 +02:00
2022-05-20 13:35:07 +02:00
2022-05-20 13:35:07 +02:00
2021-11-15 23:06:15 +11:00
2022-05-20 13:20:55 +02:00
2022-05-20 13:35:07 +02:00
2022-01-21 02:11:34 +01:00
2022-01-21 02:11:34 +01:00
2022-01-21 02:11:34 +01:00
2022-05-20 13:35:07 +02:00
2022-05-20 13:20:55 +02:00
2022-03-03 21:16:27 +11:00
2022-05-20 13:35:07 +02:00
2022-05-20 13:35:07 +02:00
2022-05-20 13:35:07 +02:00