Skip to content

Commit

Permalink
fix: (Transcoding) Callout with comma decimal. (adempiere#1558)
Browse files Browse the repository at this point in the history
  • Loading branch information
EdwinBetanc0urt authored Oct 25, 2023
1 parent 4aa7f3d commit 054c89d
Showing 1 changed file with 1 addition and 9 deletions.
10 changes: 1 addition & 9 deletions src/store/modules/ADempiere/calloutManager.js
Original file line number Diff line number Diff line change
Expand Up @@ -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: {
Expand Down Expand Up @@ -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
}
}
}
Expand Down

0 comments on commit 054c89d

Please sign in to comment.