2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-08-10 22:00:56 +00:00

Refactor 'order parts' window from manufacturer part list

This commit is contained in:
Oliver Walters
2022-05-03 16:42:00 +10:00
parent bac5a16491
commit c0163a476f
2 changed files with 22 additions and 6 deletions

View File

@@ -325,9 +325,17 @@
var parts = [];
selections.forEach(function(item) {
parts.push(item.part);
var part = item.part_detail;
part.manufacturer_part = item.pk;
parts.push(part);
});
orderParts(
parts,
);
return;
launchModalForm("/order/purchase-order/order-parts/", {
data: {
parts: parts,