mirror of https://github.com/OCA/web.git
Small fix to allow integers to be parsed correctly when a locate with a thousand separator is used.
parent
1fcd88a982
commit
f0538f43d1
|
@ -85,7 +85,8 @@ openerp.web_export_view = function (instance) {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else if (cell.classList.contains("oe_list_field_integer")) {
|
else if (cell.classList.contains("oe_list_field_integer")) {
|
||||||
export_row.push(parseInt(text));
|
tmp2 = text.replace(instance.web._t.database.parameters.thousands_sep, "");
|
||||||
|
export_row.push(parseInt(tmp2));
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
export_row.push(text.trim());
|
export_row.push(text.trim());
|
||||||
|
|
Loading…
Reference in New Issue