From 054c89d400a086381b8ffd88d1ac03a543f12c15 Mon Sep 17 00:00:00 2001 From: Edwin Betancourt Date: Wed, 25 Oct 2023 15:24:03 -0400 Subject: [PATCH] fix: (Transcoding) Callout with comma decimal. (#1558) --- src/store/modules/ADempiere/calloutManager.js | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/src/store/modules/ADempiere/calloutManager.js b/src/store/modules/ADempiere/calloutManager.js index 7e60407a1cd..8f5d3b9b2c4 100644 --- a/src/store/modules/ADempiere/calloutManager.js +++ b/src/store/modules/ADempiere/calloutManager.js @@ -32,7 +32,6 @@ import { getTypeOfValue, isEmptyValue, isSameValues } from '@/utils/ADempiere/va import { showMessage } from '@/utils/ADempiere/notification' import { convertObjectToKeyValue } from '@/utils/ADempiere/formatValue/iterableFormat' import { isDateField, isDecimalField } from '@/utils/ADempiere/references' -import { formatQuantity } from '@/utils/ADempiere/formatValue/numberFormat' const calloutManager = { actions: { @@ -95,16 +94,9 @@ const calloutManager = { value } } else if (isDecimalField(displayType)) { - let numberValue = value - if (Number.isInteger(value)) { - numberValue = formatQuantity({ - value, - isInteger: false - }) - } currentValue = { type: 'decimal', - value: numberValue + value } } }