New part table filter on available stock

This commit is contained in:
Kálmán Rózsahegyi
2022-04-03 12:30:53 +02:00
parent d1d7db76cc
commit a9f7457c12
3 changed files with 23 additions and 2 deletions
@@ -427,12 +427,16 @@ function getAvailableTableFilters(tableKey) {
},
has_stock: {
type: 'bool',
title: '{% trans "Stock available" %}',
title: '{% trans "In stock" %}',
},
low_stock: {
type: 'bool',
title: '{% trans "Low stock" %}',
},
unallocated_stock: {
type: 'bool',
title: '{% trans "Available stock" %}',
},
assembly: {
type: 'bool',
title: '{% trans "Assembly" %}',