Repository navigation
Description
Please verify that this bug has NOT been raised before.
- I checked and didn't find a similar issue
Describe the bug*
In InvenTree 1.4.0, the Stock History page incorrectly marks stock items as unavailable, even though the stock items are actually available.
For every part and every stock location, the Stock History / Stock Tracking table displays a warning indicator for the stock item. When hovering over the indicator, the tooltip says:
Stock Information: This stock item is unavailable
However, the stock items are available, have positive stock quantity, and are not involved in any sales orders, allocations, reservations, or other stock restrictions.
For example, the part page shows IN STOCK: 10, and the Stock History entry also shows quantity 10, but the stock item is still marked as unavailable in the Stock History table.
This appears to be a frontend/UI display bug or an incorrect availability status shown specifically in the Stock History table.
Steps to Reproduce
Open any part with available stock.
Go to the Stock History tab.
Look at the Stock Tracking table.
Hover over the warning/status icon in the Stock Item column.
Observe that the tooltip says: This stock item is unavailable.
Check that the same stock item has positive quantity and is not allocated, reserved, or used in any order.
Expected behaviour
Available stock items should not be marked as unavailable in the Stock History table.
If a stock item has positive quantity and is not allocated, reserved, expired, locked, or otherwise restricted, the Stock History table should show it as available or should not display the unavailable warning tooltip.
Deployment Method
Other - added info in Steps to Reproduce
Version Information
Deployment Method
Installer
Version Information
InvenTree Version: 1.4.0
API Version: 511
Python Version: 3.12.3
Django Version: 5.2.15
Commit Hash: 0a9a8b1
Commit Date: 2026-06-24T03:53:55Z
Commit Branch: 1.4.x stable
Deployment method: Installer
Operating system: Ubuntu
Docker: No
Try to reproduce on the demo site
I tried to reproduce
Is the bug reproducible on the demo site?
Reproducible
Activity
SchrodingersGat commentedon Jun 27, 2026
@78kfb thanks for reporting - fix incoming