2
0
mirror of https://github.com/inventree/InvenTree.git synced 2026-07-06 07:00:39 +00:00
Files
InvenTree/docs/docs/stock/status.md
T
Oliver 1c1933b694 [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>
2026-02-10 21:54:35 +11:00

2.3 KiB

title
title
Stock Status

Stock Status

Each Stock Item has a status attribute, which serves to identify the current condition of the individual stock item.

Certain stock item status codes will restrict the availability of the stock item.

Below is the list of available stock status codes and their meaning:

Status Description Available
OK Stock item is healthy, nothing wrong to report Yes
Attention needed Stock item hasn't been checked or tested yet Yes
Damaged Stock item is not functional in its present state Yes
Destroyed Stock item has been destroyed No
Lost Stock item has been lost No
Rejected Stock item did not pass the quality control standards No
Quarantined Stock item has been intentionally isolated and it unavailable No

The status of a given stock item is displayed on the stock item detail page:

{{ image("stock/stock_status_label.png", title="Stock status label") }}

Source Code

Refer to the source code for the Stock status codes:

::: stock.status_codes.StockStatus options: show_bases: False show_root_heading: False show_root_toc_entry: False show_source: True members: []

Custom Status Codes

Stock Status supports custom states.

Default Status Code

The default status code for any newly created Stock Item is OK

Update Status

To update the status code for an individual stock item, open the Edit Stock Item dialog and then select the required status code in the Status field

{{ image("stock/stock_status_edit.png", title="Edit stock item status") }}