More work

- Consolidated "in_stock" filter to single code location
- Improve 'limit_choices_to' for BuildItem and SalesOrderAllocation
- Various template improvements etc
This commit is contained in:
Oliver Walters committed 2020-04-26 16:38:29 +10:00
1 parent 4147163418
commit e768ada83b
20 files changed
+362 -79

No files matched your search

+5
View File
@@ -21,6 +21,11 @@ function getAvailableTableFilters(tableKey) {
title: '{% trans "Include sublocations" %}',
description: '{% trans "Include stock in sublocations" %}',
},
in_stock: {
type: 'bool',
title: '{% trans "In stock" %}',
description: '{% trans "Item is in stock" %}',
},
active: {
type: 'bool',
title: '{% trans "Active parts" %}',