[Vtigercrm-developers] decimal field format
Vincenzo Bruno
v.bruno at vinsoft.it
Fri Feb 14 17:08:35 GMT 2025
I agree that it should be reverted.
Moreover i think that Currency field should have its own per-field
"Decimals" setting like Text field, maybe optional to bypass the global
setting.
V.
Il 14/02/25 17:29, Rubén A. Estrada Orozco ha scritto:
> anyone?
>
> On Thu, Feb 13, 2025 at 6:14 PM Rubén A. Estrada Orozco
> <rulotec1 at gmail.com> wrote:
>
> Hi everyone,
>
> I see this change was introduced about 9 months ago:
> https://code.vtiger.com/vtiger/vtigercrm/-/merge_requests/1185/diffs
>
> image.png
>
> This change has important/serious implications for the behavior of
> Vtiger.
>
> It formats all decimal fields according to the "Number of Currency
> Decimals" parameter in the user's preferences. Such preferences
> can vary from user to user.
>
> image.png
>
> If you create a field such as this one:
>
> image.png
>
> You expect it to have 4 decimals. You also expect that the
> _currency_ number format would not impact such other fields. But
> guess what? it does!!!
>
> There is a big problem with this. If a user with 4 decimals format
> sets a field value of a record to say 0.1234, and then a user with
> 2 decimals format edits the same record without touching said
> field, then its value will change to 0.12. Not the expected
> behavior, right?
>
> Moreover, if you come from a Vtiger version prior to 8.2 and
> upgrade, then this will potentially mess up your data little by
> little, removing decimals from such fields. Because, the default
> number of decimals for currency fields is 2, so most probably,
> you'll be losing decimals.
>
> This was not carefully thought through. Vtiger team, please
> consider reverting that change.
>
>
>
> Saludos
>
> Rubén
>
>
> _______________________________________________
> http://www.vtiger.com/
--
Vincenzo Bruno
Coopyleft -www.coopyleft.it
tel: 3287252923
Digital Polis (www.digitalpolis.it)
Hacklab Cosenza (www.hlcs.it)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.vtigercrm.com/pipermail/vtigercrm-developers/attachments/20250214/e4f6a880/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image.png
Type: image/png
Size: 81577 bytes
Desc: not available
URL: <http://lists.vtigercrm.com/pipermail/vtigercrm-developers/attachments/20250214/e4f6a880/attachment-0003.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image.png
Type: image/png
Size: 68470 bytes
Desc: not available
URL: <http://lists.vtigercrm.com/pipermail/vtigercrm-developers/attachments/20250214/e4f6a880/attachment-0004.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image.png
Type: image/png
Size: 50581 bytes
Desc: not available
URL: <http://lists.vtigercrm.com/pipermail/vtigercrm-developers/attachments/20250214/e4f6a880/attachment-0005.png>
More information about the vtigercrm-developers
mailing list