Percent field does not accept comma values
The percentage field does not accept comma values. How to recreate the error:
- create a new opportunity and enter a probability of 10.5 (using the point)
- reopen the opportunity in edit, the point will have become a comma (10,5)
- saving the opportunity again the value becomes 10.
Logically this happens even if in the first step we enter 10,5 directly (using the comma) and save
Step1: Edit
Step2: Edit
Step3: Detail
the problem probably is here modules/Vtiger/uitypes/Percentage.php
in the getDisplayValue
function, probably due to incorrect handling of the percentage field and convertToUserFormat