2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-06-18 13:05:42 +00:00

Adds "assigned_to_me" filtering to build orders

This commit is contained in:
Oliver
2021-12-04 21:30:11 +11:00
parent 087ac0bd34
commit 9e1251d78d
4 changed files with 32 additions and 1 deletions

View File

@ -34,7 +34,12 @@ function buildFormFields() {
reference: {
prefix: global_settings.BUILDORDER_REFERENCE_PREFIX,
},
part: {},
part: {
filters: {
assembly: true,
virtual: false,
}
},
title: {},
quantity: {},
parent: {

View File

@ -298,6 +298,10 @@ function getAvailableTableFilters(tableKey) {
type: 'bool',
title: '{% trans "Overdue" %}',
},
assigned_to_me: {
type: 'bool',
title: '{% trans "Assigned to me" %}',
},
};
}