diff --git a/src/components/ADempiere/Field/mixin/mixinField.js b/src/components/ADempiere/Field/mixin/mixinField.js index 9e4a8268..26b6ad7a 100644 --- a/src/components/ADempiere/Field/mixin/mixinField.js +++ b/src/components/ADempiere/Field/mixin/mixinField.js @@ -199,7 +199,8 @@ export default { } this.$store.dispatch('notifyFieldChange', { containerUuid: this.metadata.containerUuid, - field: this.metadata + field: this.metadata, + columnName: this.metadata.columnName }) } } diff --git a/src/store/modules/ADempiere/calloutControl.js b/src/store/modules/ADempiere/calloutControl.js index a3f0171f..62ddb3b3 100644 --- a/src/store/modules/ADempiere/calloutControl.js +++ b/src/store/modules/ADempiere/calloutControl.js @@ -33,7 +33,21 @@ const callOutControl = { oldValue, valueType }) { - if (isEmptyValue(value) || isEmptyValue(callout)) { + // Validate callout + if (isEmptyValue(callout)) { + const notifyChange = inTable ? 'notifyRowTableChange' : 'notifyPanelChange' + dispatch(notifyChange, { + parentUuid, + containerUuid, + row: value, + isEdit: true, + panelType: 'window', + newValues: value, + isSendToServer: false, + withOutColumnNames, + isSendCallout: false, + isChangeFromCallout: true + }) return undefined } // Else diff --git a/src/store/modules/ADempiere/panel/actions.js b/src/store/modules/ADempiere/panel/actions.js index f17c027a..b573a063 100644 --- a/src/store/modules/ADempiere/panel/actions.js +++ b/src/store/modules/ADempiere/panel/actions.js @@ -598,6 +598,10 @@ const actions = { fieldsList }) } + showMessage({ + message: language.t('notifications.updateFields') + ' ' + field.name, + type: 'success' + }) }) .catch(error => { showMessage({