Filter StockItem API by staleness

This commit is contained in:
Oliver Walters committed 2021-01-06 22:20:54 +11:00
1 parent 33d6396a4e
commit ba915da22b
5 files changed
+86 -29

No files matched your search

@@ -17,7 +17,7 @@
{% else %}
{% if setting.value %}
<i><b>
{{ setting.value }}</b>{{ setting.units }}
{{ setting.value }}</b> {{ setting.units }}
</i>
{% else %}
<i>{% trans "No value set" %}</i>
@@ -16,6 +16,7 @@
{% include "InvenTree/settings/header.html" %}
<tbody>
{% include "InvenTree/settings/setting.html" with key="STOCK_ENABLE_EXPIRY" %}
{% include "InvenTree/settings/setting.html" with key="STOCK_STALE_DAYS" %}
{% include "InvenTree/settings/setting.html" with key="STOCK_ALLOW_EXPIRED_SALE" %}
{% include "InvenTree/settings/setting.html" with key="STOCK_ALLOW_EXPIRED_BUILD" %}
</tbody>