From acb4b654ab928bba2ff91245fc71a6ace3d93757 Mon Sep 17 00:00:00 2001 From: Stefan Rijnhart Date: Sun, 4 Aug 2013 20:35:56 +0200 Subject: [PATCH] [FIX] Parsing of float values --- web_export_view/static/js/web_advanced_export.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web_export_view/static/js/web_advanced_export.js b/web_export_view/static/js/web_advanced_export.js index e38269ff..de13dfa1 100644 --- a/web_export_view/static/js/web_advanced_export.js +++ b/web_export_view/static/js/web_advanced_export.js @@ -73,7 +73,7 @@ openerp.web_export_view = function(instance, m) { cell = $row.find('td[data-field="'+this+'"]').get(0); text = cell.text || cell.textContent || cell.innerHTML || ""; if (cell.classList.contains("oe_list_field_float")){ - export_row.push(parseFloat(text)); + export_row.push(instance.web.parse_value(text, {'type': "float"})); } else if (cell.classList.contains("oe_list_field_integer")){ export_row.push(parseInt(text));