From 023c386f5ee580139c4aad33ee48641cdc3656f9 Mon Sep 17 00:00:00 2001 From: Oliver Walters Date: Sat, 7 Sep 2019 21:18:32 +1000 Subject: [PATCH] Display a warning message if delete_on_deplete is set --- InvenTree/stock/templates/stock/item.html | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/InvenTree/stock/templates/stock/item.html b/InvenTree/stock/templates/stock/item.html index e64dcce1c7..7bf6ff4e29 100644 --- a/InvenTree/stock/templates/stock/item.html +++ b/InvenTree/stock/templates/stock/item.html @@ -49,6 +49,10 @@
This stock item is serialized - it has a unique serial number and the quantity cannot be adjusted.
+ {% elif item.delete_on_deplete %} +
+ This stock item will be automatically deleted when all stock is depleted. +
{% endif %}