Browse Source

[FIX] now export only selected items.

pull/1269/head
Sylvain LE GAL 10 years ago
committed by ernesto
parent
commit
c6c107f359
  1. 2
      web_export_view/static/js/web_advanced_export.js

2
web_export_view/static/js/web_advanced_export.js

@ -68,7 +68,7 @@ openerp.web_export_view = function(instance, m) {
if($row.attr('data-id')){
export_row = [];
checked = $row.find('th input[type=checkbox]').attr("checked");
if (children || checked === "checked"){
if (children && checked === "checked"){
$.each(export_columns_keys,function(){
cell = $row.find('td[data-field="'+this+'"]').get(0);
text = cell.text || cell.textContent || cell.innerHTML || "";

Loading…
Cancel
Save