mirror of
https://github.com/inventree/InvenTree.git
synced 2025-07-12 07:54:14 +00:00
Fix for scanItemsIntoLocation function
- Accept list of objects rather than pk values - Conform to API requirements
This commit is contained in:
@ -1972,7 +1972,7 @@ function loadStockTable(table, options) {
|
||||
var items = [];
|
||||
|
||||
selections.forEach(function(item) {
|
||||
items.push(item.pk);
|
||||
items.push(item);
|
||||
});
|
||||
|
||||
scanItemsIntoLocation(items);
|
||||
|
Reference in New Issue
Block a user