2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-06-18 04:55:44 +00:00

Reload the untracked stock table when allocation actions are performed

This commit is contained in:
Oliver
2022-04-29 12:59:20 +10:00
parent 51da1f02a8
commit 8fc34a21a6
2 changed files with 32 additions and 24 deletions

View File

@ -2270,7 +2270,9 @@ function autoAllocateStockToBuild(build_id, bom_items=[], options={}) {
confirm: true,
preFormContent: html,
onSuccess: function(response) {
$('#allocation-table-untracked').bootstrapTable('refresh');
if (options.onSuccess) {
options.onSuccess(response);
}
}
});
}