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 => {