diff options
| author | Géry Debongnie <ged@odoo.com> | 2017-05-31 15:52:58 +0200 |
|---|---|---|
| committer | Géry Debongnie <ged@odoo.com> | 2017-05-31 19:31:07 +0200 |
| commit | 5ff7199562132ccefd69ce84ce0c2c2984a40e26 (patch) | |
| tree | c21048cdf7146da7c363e9a76ade5b37126f9703 /addons/web/static/src/js/fields/relational_fields.js | |
| parent | a5f139a5041acf3160b07c64d316daf9c033ac5c (diff) | |
[FIX] web: properly parse float with '.' as thousand_sep
In a slightly too naive way, we apparently tried to improve the
parse_float method while rewriting the new views. This was done by
using a regexp to match all occurences of a thousand separator.
The way the regexp was built was fine, until the thousand separator is a
'.', which, if used as a regexp, matches all characters. Also, sadly,
'.' is not so rare as a thousand separator...
Diffstat (limited to 'addons/web/static/src/js/fields/relational_fields.js')
0 files changed, 0 insertions, 0 deletions
