From 04ac990f1f981664a244405b7cb097d060be6897 Mon Sep 17 00:00:00 2001 From: Yamel Senih Date: Mon, 10 May 2021 01:38:42 -0400 Subject: [PATCH] Fixed error with tablename for record access (#829) --- src/components/ADempiere/ContextMenu/contextMenuMixin.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/ADempiere/ContextMenu/contextMenuMixin.js b/src/components/ADempiere/ContextMenu/contextMenuMixin.js index 11009a73..489aa629 100644 --- a/src/components/ADempiere/ContextMenu/contextMenuMixin.js +++ b/src/components/ADempiere/ContextMenu/contextMenuMixin.js @@ -520,7 +520,7 @@ export default { recordUuid: this.recordUuid, panelType: this.panelType, isNewRecord: action.action === 'setDefaultValues', - tableName: this.$route.params.tableName, + tableName: this.tableName, recordId: this.getCurrentRecord[this.tableNameCurrentTab + '_ID'] }) .then(response => {