summaryrefslogtreecommitdiff
path: root/addons/web/static/src/js/framework/formats.js
diff options
context:
space:
mode:
Diffstat (limited to 'addons/web/static/src/js/framework/formats.js')
-rw-r--r--addons/web/static/src/js/framework/formats.js4
1 files changed, 0 insertions, 4 deletions
diff --git a/addons/web/static/src/js/framework/formats.js b/addons/web/static/src/js/framework/formats.js
index 9efd799a481..aafe5766e49 100644
--- a/addons/web/static/src/js/framework/formats.js
+++ b/addons/web/static/src/js/framework/formats.js
@@ -136,10 +136,6 @@ function parse_value (value, descriptor, value_if_empty) {
return tmp;
case 'monetary':
case 'float':
- tmp = Number(value);
- if (!isNaN(tmp))
- return tmp;
-
var tmp2 = value;
do {
tmp = tmp2;