Skip to content

[enhancements] Stock tracking enhancements#11260

Open
SchrodingersGat wants to merge 20 commits intoinventree:masterfrom
SchrodingersGat:stock-tracking-enhancements
Open

[enhancements] Stock tracking enhancements#11260
SchrodingersGat wants to merge 20 commits intoinventree:masterfrom
SchrodingersGat:stock-tracking-enhancements

Conversation

@SchrodingersGat
Copy link
Member

@SchrodingersGat SchrodingersGat commented Feb 5, 2026

Enhancements

  • Display all stock tracking entries for a given part (including variants) on the part page
  • Shows consolidated tracking entries for all stock items
  • Allow tracking entries to persist even after the stock items have been deleted
  • Adds extra filtering options to the stock tracking entries API

TODO

  • Update / improve documentation around stock tracking
  • Handle "orphaned" stock tracking entries (where stock item has been deleted) - potentially delete after specified period?
  • Display "part" and "stock item" columns in the table
  • Display "stock item deleted" for old items
  • Add playwright testing (in particular, delete a stock item and check that tracking remains)
  • Data migration for demo dataset - stock tracking part link demo-dataset#100

@SchrodingersGat SchrodingersGat added this to the 1.2.0 milestone Feb 5, 2026
@SchrodingersGat SchrodingersGat added enhancement This is an suggested enhancement or new feature api Relates to the API User Interface Related to the frontend / User Interface labels Feb 5, 2026
@netlify
Copy link

netlify bot commented Feb 5, 2026

Deploy Preview for inventree-web-pui-preview ready!

Name Link
🔨 Latest commit 5178320
🔍 Latest deploy log https://app.netlify.com/projects/inventree-web-pui-preview/deploys/698670f0bd81bb0008231e44
😎 Deploy Preview https://deploy-preview-11260--inventree-web-pui-preview.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
Lighthouse
Lighthouse
1 paths audited
Performance: 94 (no change from production)
Accessibility: 81 (no change from production)
Best Practices: 100 (no change from production)
SEO: 78 (no change from production)
PWA: -
View the detailed breakdown and full score reports

To edit notification comments on pull requests, go to your Netlify project configuration.

@SchrodingersGat SchrodingersGat added migration Data or schema migrations stock Related to Stock models documentation labels Feb 5, 2026
@codecov
Copy link

codecov bot commented Feb 5, 2026

Codecov Report

❌ Patch coverage is 67.18750% with 21 lines in your changes missing coverage. Please review.
✅ Project coverage is 88.02%. Comparing base (2429bc2) to head (5178320).

Additional details and impacted files
@@            Coverage Diff             @@
##           master   #11260      +/-   ##
==========================================
- Coverage   88.07%   88.02%   -0.05%     
==========================================
  Files        1290     1292       +2     
  Lines       58460    58511      +51     
  Branches     1965     1965              
==========================================
+ Hits        51487    51507      +20     
- Misses       6484     6515      +31     
  Partials      489      489              
Flag Coverage Δ
backend 89.28% <67.18%> (-0.06%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

Components Coverage Δ
Backend Apps 91.76% <66.66%> (-0.08%) ⬇️
Backend General 93.61% <ø> (ø)
Frontend 70.83% <ø> (-0.01%) ⬇️
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

SchrodingersGat added a commit to inventree/demo-dataset that referenced this pull request Feb 6, 2026
- Adds part link to StockItemTracking models
- Ref: inventree/InvenTree#11260
SchrodingersGat added a commit to inventree/demo-dataset that referenced this pull request Feb 6, 2026
- Adds part link to StockItemTracking models
- Ref: inventree/InvenTree#11260
Copy link
Contributor

@matmair matmair left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM; change in doc structure makes sense

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

api Relates to the API documentation enhancement This is an suggested enhancement or new feature migration Data or schema migrations stock Related to Stock models User Interface Related to the frontend / User Interface

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants