diff --git a/ayanova/src/api/open-object-handler.js b/ayanova/src/api/open-object-handler.js index ba2b0507..b1cb1c0e 100644 --- a/ayanova/src/api/open-object-handler.js +++ b/ayanova/src/api/open-object-handler.js @@ -243,6 +243,14 @@ export default { params: { recordid: tid.id } }); break; + case ayatype.PartInventory: + //this one's a little different, there is no way to edit a partinventory transaction + //so it opens to the history of the one clicked so user can see who was responsible + vm.$router.push({ + name: "ay-history", + params: { ayatype: ayatype.PartInventory, recordid: tid.id } + }); + break; case ayatype.PartWarehouse: vm.$router.push({ name: "inv-part-warehouse",