From 80f62e6fdd4be4e410cf5390629e65872a39df75 Mon Sep 17 00:00:00 2001 From: Yamel Senih Date: Thu, 2 Apr 2020 23:21:57 -0400 Subject: [PATCH] Fixed error with call service for list document statuses when a record is new (#430) --- src/components/ADempiere/Panel/index.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/ADempiere/Panel/index.vue b/src/components/ADempiere/Panel/index.vue index d129cffa..5125195f 100644 --- a/src/components/ADempiere/Panel/index.vue +++ b/src/components/ADempiere/Panel/index.vue @@ -639,7 +639,7 @@ export default { return groupsList }, setTagsViewTitle(actionValue) { - if (this.getterPanel.isDocument && this.getterDataStore.isLoaded) { + if (actionValue !== 'create-new' && !this.isEmptyValue(actionValue) && this.getterPanel.isDocument && this.getterDataStore.isLoaded) { this.$store.dispatch('listWorkflows', this.metadata.tableName) this.$store.dispatch('listDocumentStatus', { recordUuid: this.$route.query.action,