When using "." as thousands separator, and without decimals purchase order line understands it as decimal
I have configured an instance to use no decimals, and use "." as thousand separator. This is used this way un CLP (chilean pesos).
In this situation, when creating a purchase order, the price of the item in the purchase order line, (for example 134.990) removes 990 and try to use 135 as the price. So purchase order line price is being misinterpreted as decimal.
To avoid this, I had to remove the thousands separator and use simply 134990.
Is there a shortcut to solve this?
Is a Bug.
Change this file:
Find this line in function instance.web.parse_value:
tmp = Number(value);
and change for this (Coment whit //)
//tmp = Number(value);
is working for us
Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!
About This Community
|Asked: 1/7/15, 8:50 AM|
|Seen: 1336 times|
|Last updated: 3/29/15, 12:25 PM|