<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<p><font size="4">I agree that it should be reverted.</font></p>
<p><font size="4">Moreover i think that Currency field should have
its own per-field "Decimals" setting like Text field, maybe
optional to bypass the global setting.</font></p>
<p><font size="4">V. <br>
</font></p>
<p><font size="4"><br>
</font></p>
<div class="moz-cite-prefix">Il 14/02/25 17:29, Rubén A. Estrada
Orozco ha scritto:<br>
</div>
<blockquote type="cite"
cite="mid:CAKjsHQ_i2=2UPc8ngTBXpj1GarGi_X0ow9TMOwiuogqL_dDqUw@mail.gmail.com">
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<div dir="ltr">anyone?<br>
</div>
<br>
<div class="gmail_quote gmail_quote_container">
<div dir="ltr" class="gmail_attr">On Thu, Feb 13, 2025 at
6:14 PM Rubén A. Estrada Orozco <<a
href="mailto:rulotec1@gmail.com" moz-do-not-send="true"
class="moz-txt-link-freetext">rulotec1@gmail.com</a>>
wrote:<br>
</div>
<blockquote class="gmail_quote"
style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div dir="ltr">
<div>Hi everyone,<br clear="all">
</div>
<div><br>
</div>
<div>I see this change was introduced about 9 months ago: <a
href="https://code.vtiger.com/vtiger/vtigercrm/-/merge_requests/1185/diffs"
target="_blank" moz-do-not-send="true"
class="moz-txt-link-freetext">https://code.vtiger.com/vtiger/vtigercrm/-/merge_requests/1185/diffs</a></div>
<div><br>
</div>
<div><img src="cid:part1.QsMtgV0g.lHCzoFGj@vinsoft.it"
alt="image.png" width="542" height="172" class=""><br>
</div>
<div><br>
</div>
<div>This change has important/serious implications for the
behavior of Vtiger. </div>
<div><br>
</div>
<div>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.</div>
<div><br>
</div>
<div><img src="cid:part2.OQX1WWkx.9KNBZRPJ@vinsoft.it"
alt="image.png" width="542" height="390" class=""><br>
</div>
<div><br>
</div>
<div>If you create a field such as this one:</div>
<div><br>
</div>
<div><img src="cid:part3.RuhQzG3O.m6LuwzEg@vinsoft.it"
alt="image.png" width="542" height="512" class=""><br>
</div>
<div><br>
</div>
<div>You expect it to have 4 decimals. You also expect that
the <u>currency</u> number format would not impact such
other fields. But guess what? it does!!!</div>
<div><br>
</div>
<div>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?</div>
<div><br>
</div>
<div>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.</div>
<div><br>
</div>
<div>This was not carefully thought through. Vtiger team,
please consider reverting that change.</div>
<div><br>
</div>
<div><br>
</div>
<div><br>
</div>
<div>
<div dir="ltr" class="gmail_signature">
<div dir="ltr">Saludos
<div><br>
</div>
<div>Rubén</div>
</div>
</div>
</div>
</div>
</blockquote>
</div>
<br>
<fieldset class="moz-mime-attachment-header"></fieldset>
<pre wrap="" class="moz-quote-pre">_______________________________________________
<a class="moz-txt-link-freetext" href="http://www.vtiger.com/">http://www.vtiger.com/</a></pre>
</blockquote>
<pre class="moz-signature" cols="72">--
Vincenzo Bruno
Coopyleft - <a class="moz-txt-link-abbreviated" href="http://www.coopyleft.it">www.coopyleft.it</a>
tel: 3287252923
Digital Polis (<a class="moz-txt-link-abbreviated" href="http://www.digitalpolis.it">www.digitalpolis.it</a>)
Hacklab Cosenza (<a class="moz-txt-link-abbreviated" href="http://www.hlcs.it">www.hlcs.it</a>)
</pre>
</body>
</html>