2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-06-30 18:50:53 +00:00

Add option to select multiple build outputs

- Can "complete" these outputs
This commit is contained in:
Oliver
2021-10-16 14:27:02 +11:00
parent d47b32e4aa
commit 14ef56785e
4 changed files with 65 additions and 18 deletions

View File

@ -423,8 +423,6 @@ function completeBuildOutputs(build_id, outputs, options={}) {
output: pk,
});
output_pk_values.push(pk);
} else {
console.log(`Could not find row for ${pk}`);
}
});
@ -753,6 +751,12 @@ function loadBuildOutputTable(build_info, options={}) {
setupBuildOutputButtonCallbacks();
},
columns: [
{
title: '',
visible: true,
checkbox: true,
switchable: false,
},
{
field: 'part',
title: '{% trans "Part" %}',