Add option to filter out variants in stock table

This commit is contained in:
Oliver Walters committed 2021-02-21 20:08:23 +11:00
1 parent b95d6a4ab2
commit dffff89e9d
2 files changed
+15 -3

No files matched your search

+5
View File
@@ -130,6 +130,11 @@ function getAvailableTableFilters(tableKey) {
title: '{% trans "In Production" %}',
description: '{% trans "Show items which are in production" %}',
},
include_variants: {
type: 'bool',
title: '{% trans "Include Variants" %}',
description: '{% trans "Include stock items for variant parts" %}',
},
installed: {
type: 'bool',
title: '{% trans "Installed" %}',