From dfaaa60b2ad47309ef66baa1534e6fb9f0df1cc1 Mon Sep 17 00:00:00 2001 From: Edwin Betancourt Date: Wed, 27 Oct 2021 21:41:08 -0400 Subject: [PATCH 1/2] fix: Open report panel. --- .../modules/ADempiere/dictionary/process/actions.js | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/src/store/modules/ADempiere/dictionary/process/actions.js b/src/store/modules/ADempiere/dictionary/process/actions.js index 755e66c1e68..d24d3a93159 100644 --- a/src/store/modules/ADempiere/dictionary/process/actions.js +++ b/src/store/modules/ADempiere/dictionary/process/actions.js @@ -86,8 +86,8 @@ export default { /** * Set default values to panel - * @param {string} parentUuid * @param {string} containerUuid + * @param {array} fieldsList */ setProcessDefaultValues({ dispatch, getters }, { containerUuid, @@ -113,5 +113,15 @@ export default { resolve(defaultAttributes) }) + }, + setReportDefaultValues({ dispatch }, { + containerUuid, + fieldsList = [] + }) { + dispatch('setProcessDefaultValues', { + containerUuid, + fieldsList + }) } + } From a68b53a33349f80f0bc7087c146a641eb8529be0 Mon Sep 17 00:00:00 2001 From: Edwin Betancourt Date: Wed, 27 Oct 2021 21:44:36 -0400 Subject: [PATCH 2/2] fix comments. --- src/store/modules/ADempiere/dictionary/process/actions.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/store/modules/ADempiere/dictionary/process/actions.js b/src/store/modules/ADempiere/dictionary/process/actions.js index d24d3a93159..55872a6af7d 100644 --- a/src/store/modules/ADempiere/dictionary/process/actions.js +++ b/src/store/modules/ADempiere/dictionary/process/actions.js @@ -16,7 +16,10 @@ import router from '@/router' +// api request methods import { requestProcessMetadata } from '@/api/ADempiere/dictionary/process.js' + +// utils and helper methods import { generateProcess } from '@/utils/ADempiere/dictionary/process.js' import { isEmptyValue } from '@/utils/ADempiere/valueUtils'