New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Vietnamese Thousands Separator Error #2545
Comments
You should input 80,000 or 80000. |
inputting 80,000 for eighty thousand is not native to Vietnamese language. It's US style! |
Is a Bug. Change this file: addons/web/static/js/formats.js Find this line in function instance.web.parse_value: case 'float':
tmp = Number(value);
if (!isNaN(tmp))
return tmp; and change for this (Coment whit //) case 'float':
//tmp = Number(value);
//if (!isNaN(tmp))
//return tmp; is working for us |
Hello, Is it still the case? The decimal separator is specified on the language and it can be accepted on a pull request if a change is needed. |
Hi @leotran, Thank you for your bug report. Regards, |
After config Decimal Accuracy for Product Price is 0. I enter Unit Price on Product or Quotation form, ex: 80.000. It become 80 when it saved. If Decimal Accuracy for Product Price is not equa 0 (ex: 2), it's work!
The text was updated successfully, but these errors were encountered: