Hello, I had a similar problem: using "." (dot) as separator for thousands and "," (comma) as decimal separator, all vaules were multiplied * 100 in the listview (and in the amount_usdollar field in the DB).
What I did is remove the unformat_field from the file SaveOverload.php in /modules/opportunities/
in this line:
PHP Code:
$focus->amount_usdollar = $currency->convertToDollar(unformat_number ($focus->amount));
change it to
PHP Code:
$focus->amount_usdollar = $currency->convertToDollar($focus->amount);
This is because the field already gets unformatted in precedence, in the unformat_all_fields function
Is there a way to notify developers of this ?
Bookmarks