diff --git a/config/services/record/fields/currency_fields_type_map.yaml b/config/services/record/fields/currency_fields_type_map.yaml index c68b1cf5f..beda5f865 100644 --- a/config/services/record/fields/currency_fields_type_map.yaml +++ b/config/services/record/fields/currency_fields_type_map.yaml @@ -14,6 +14,7 @@ parameters: modes: ['edit', 'create', 'massupdate', 'filter'] params: fieldDependencies: ['{currency_id}'] + triggeringStatus: ['onAnyLogic'] '{currency_id}': modes: ['edit', 'create', 'massupdate', 'filter'] type: 'enum' @@ -26,3 +27,4 @@ parameters: modes: ['edit', 'create', 'massupdate', 'filter'] params: fieldDependencies: ['{currency}'] + triggeringStatus: ['onAnyLogic'] diff --git a/core/app/core/src/lib/fields/field-logic/currency-conversion/update-base-currency.action.ts b/core/app/core/src/lib/fields/field-logic/currency-conversion/update-base-currency.action.ts index 2f2778fb8..6843d403e 100644 --- a/core/app/core/src/lib/fields/field-logic/currency-conversion/update-base-currency.action.ts +++ b/core/app/core/src/lib/fields/field-logic/currency-conversion/update-base-currency.action.ts @@ -82,4 +82,8 @@ export class UpdateBaseCurrencyAction extends FieldLogicActionHandler { // re-validate the parent form-control after value update record.formGroup.updateValueAndValidity({onlySelf: true, emitEvent: true}); } + + getTriggeringStatus(): string[] { + return ['onAnyLogic']; + } } diff --git a/core/app/core/src/lib/fields/field-logic/currency-conversion/update-currency.action.ts b/core/app/core/src/lib/fields/field-logic/currency-conversion/update-currency.action.ts index ce5548e6e..0ff86ac96 100644 --- a/core/app/core/src/lib/fields/field-logic/currency-conversion/update-currency.action.ts +++ b/core/app/core/src/lib/fields/field-logic/currency-conversion/update-currency.action.ts @@ -86,4 +86,8 @@ export class UpdateCurrencyAction extends FieldLogicActionHandler { // re-validate the parent form-control after value update record.formGroup.updateValueAndValidity({onlySelf: true, emitEvent: true}); } + + getTriggeringStatus(): string[] { + return ['onAnyLogic']; + } }