From 7adf2e0835862946019b6a8d4b5006a7f36ef0b2 Mon Sep 17 00:00:00 2001 From: Michael Date: Sat, 17 Feb 2024 23:00:31 +0100 Subject: [PATCH] Added doc for status_label to context variables (#6507) --- docs/docs/report/context_variables.md | 1 + 1 file changed, 1 insertion(+) diff --git a/docs/docs/report/context_variables.md b/docs/docs/report/context_variables.md index 0765d68036..4704d1560a 100644 --- a/docs/docs/report/context_variables.md +++ b/docs/docs/report/context_variables.md @@ -135,6 +135,7 @@ Each part object has access to a lot of context variables about the part. The fo | review_needed | Flag if [StockItem](./context_variables.md#stockitem) needs review | | delete_on_deplete | If True, [StockItem](./context_variables.md#stockitem) will be deleted when the stock level gets to zero | | status | Status of this [StockItem](./context_variables.md#stockitem) (ref: InvenTree.status_codes.StockStatus) | +| status_label | Textual representation of the status e.g. "OK" | | notes | Extra notes field | | build | Link to a Build (if this stock item was created from a build) | | is_building | Boolean field indicating if this stock item is currently being built (or is "in production") |