Browse Source

Small fix to allow integers to be parsed correctly when a locate with a thousand separator is used.

pull/798/head
Torvald B. Bringsvor 10 years ago
committed by Pedro M. Baeza
parent
commit
917d49aef8
  1. 3
      web_export_view/static/src/js/web_export_view.js

3
web_export_view/static/src/js/web_export_view.js

@ -85,7 +85,8 @@ openerp.web_export_view = function (instance) {
}
}
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 {
export_row.push(text.trim());

Loading…
Cancel
Save