This commit is contained in:
2021-01-25 19:11:14 +00:00
parent 99dc000cbf
commit d8adf03417
2 changed files with 27 additions and 15 deletions

View File

@@ -803,12 +803,24 @@ function generateMenu(vm) {
//---- SHOW ALL ---
//MIGRATE_OUTSTANDING part inventory link from part form
menuOptions.menuItems.push({
title: "PartByWarehouseInventoryList",
icon: "$ayiPallet",
key: FORM_KEY + ":TODO-PartByWareHouseInventoryLinkForThisPart",
vm: vm
});
if (window.$gz.store.state.globalSettings.useInventory) {
menuOptions.menuItems.push({
title: "PartByWarehouseInventoryList",
icon: "$ayiPallet",
key: FORM_KEY + ":TODO-PartByWareHouseInventoryLinkForThisPart",
vm: vm
});
//MIGRATE_OUTSTANDING part inventory transactions list for this part
menuOptions.menuItems.push({
title: "PartInventoryTransactionList",
icon: "$ayiDolly",
key:
FORM_KEY +
":TODO-PartByWareHouseInventoryTransactionListLinkForThisPart",
vm: vm
});
}
if (vm.obj.id != null && vm.obj.id != 0) {
menuOptions.menuItems.push({