mirror of
https://github.com/OCA/web.git
synced 2025-02-22 13:21:25 +02:00
[FIX] Parsing of float values
This commit is contained in:
@@ -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));
|
||||
|
||||
Reference in New Issue
Block a user