Skip to content

Commit

Permalink
fix: Open report panel. (#1309)
Browse files Browse the repository at this point in the history
* fix: Open report panel.

* fix comments.
  • Loading branch information
EdwinBetanc0urt authored Oct 28, 2021
1 parent d1e9867 commit 09fa135
Showing 1 changed file with 14 additions and 1 deletion.
15 changes: 14 additions & 1 deletion src/store/modules/ADempiere/dictionary/process/actions.js
Original file line number Diff line number Diff line change
Expand Up @@ -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'

Expand Down Expand Up @@ -86,8 +89,8 @@ export default {

/**
* Set default values to panel
* @param {string} parentUuid
* @param {string} containerUuid
* @param {array} fieldsList
*/
setProcessDefaultValues({ dispatch, getters }, {
containerUuid,
Expand All @@ -113,5 +116,15 @@ export default {

resolve(defaultAttributes)
})
},
setReportDefaultValues({ dispatch }, {
containerUuid,
fieldsList = []
}) {
dispatch('setProcessDefaultValues', {
containerUuid,
fieldsList
})
}

}

0 comments on commit 09fa135

Please sign in to comment.