diff --git a/src/components/ADempiere/Field/index.vue b/src/components/ADempiere/Field/index.vue
index 1b6cea42..9a9c12fc 100644
--- a/src/components/ADempiere/Field/index.vue
+++ b/src/components/ADempiere/Field/index.vue
@@ -5,7 +5,7 @@
container-->
fieldItem.columnName === columnName)
- if (!(isAdvancedQuery && ['IN', 'NOT_IN'].includes(field.operator))) {
- newValue = parsedValueComponent({
- fieldType: field.componentPath,
- referenceType: field.referenceType,
- value: newValue
- })
-
- if (field.isRange) {
- valueTo = parsedValueComponent({
+ if (!(panelType === 'table' || isAdvancedQuery)) {
+ if (!['IN', 'NOT_IN'].includes(field.operator)) {
+ newValue = parsedValueComponent({
fieldType: field.componentPath,
referenceType: field.referenceType,
- value: valueTo
+ value: newValue
})
+ if (field.isRange) {
+ valueTo = parsedValueComponent({
+ fieldType: field.componentPath,
+ referenceType: field.referenceType,
+ value: valueTo
+ })
+ }
}
- }
- if (!(panelType === 'table' || isAdvancedQuery)) {
// Call context management
dispatch('setContext', {
parentUuid,
@@ -555,9 +554,7 @@ const panel = {
}
})
}
- }
- if (!isAdvancedQuery) {
// Change Dependents
dispatch('changeDependentFieldsList', {
parentUuid,
diff --git a/src/utils/ADempiere/evaluator.js b/src/utils/ADempiere/evaluator.js
index 6083afad..010ddab5 100644
--- a/src/utils/ADempiere/evaluator.js
+++ b/src/utils/ADempiere/evaluator.js
@@ -120,7 +120,7 @@ class evaluator {
})
// in context exists this column name
if (value === null || value === undefined) {
- console.info(`.The column ${first} not exists in context.`)
+ // console.info(`.The column ${first} not exists in context.`)
return _defaultUndefined
}
firstEval = value // replace with it's value
@@ -186,10 +186,6 @@ class evaluator {
value2 = false
}
- if ([value1, operand, value2].includes(null)) {
- return false
- }
-
let isValueLogic
// TODO: Add '^' operand comparison
switch (operand) {