[enhancements] Stock tracking enhancements (#11260)

* Data migrations for StockItemTracking

- Propagate the 'part' links

* Enable filtering of stock tracking entries by part

* Enable filtering by date range

* Display stock tracking for part

* Table enhancements

* Bump API version

* Display stock item column

* Ensure 'quantity' is recorded for stock tracking entries

* Add new global settings

* Adds background task for deleting old stock tracking entries

* Docs updates

* Enhanced docs

* Cast quantity to float

* Rever data migration

* Ensure part link gets created

* Improved prefetch for API

* Playwright testing

* Tweak unit test thresholds

---------

Co-authored-by: Matthias Mair <code@mjmair.com>
This commit is contained in:
Oliver
2026-02-10 21:54:35 +11:00
committed by GitHub
co-authored by Matthias Mair
parent 613ed40843
commit 1c1933b694
29 changed files with 669 additions and 208 deletions
+1 -1
View File
@@ -304,6 +304,6 @@ def on_post_build(*args, **kwargs):
if missing:
raise NotImplementedError(
'Missing Settings:\n'
+ f"There are {len(missing)} missing settings in the '{group}' group:\n"
+ f"There are {len(missing)} missing settings in the '{group}' group:\n- "
+ '\n- '.join(missing)
)