2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-06-17 12:35:46 +00:00

Adds ability to filter stockitem list by "has_batch" parmeter

This commit is contained in:
Oliver Walters
2022-04-18 22:34:00 +10:00
parent 5f455a6ee8
commit 33401cb207
3 changed files with 22 additions and 1 deletions

View File

@ -234,6 +234,10 @@ function getAvailableTableFilters(tableKey) {
title: '{% trans "Stock status" %}',
description: '{% trans "Stock status" %}',
},
has_batch: {
title: '{% trans "Has batch code" %}',
type: 'bool',
},
batch: {
title: '{% trans "Batch" %}',
description: '{% trans "Batch code" %}',