|
@ -98,8 +98,8 @@ openerp.web_export_view = function(openerp) { |
|
|
cell = $row.find('td[data-field="'+this+'"]').get(0); |
|
|
cell = $row.find('td[data-field="'+this+'"]').get(0); |
|
|
var data_id = $( '<div>' + cell.innerHTML + '</div>'); |
|
|
var data_id = $( '<div>' + cell.innerHTML + '</div>'); |
|
|
if(data_id.find('input').get(0) != undefined) { |
|
|
if(data_id.find('input').get(0) != undefined) { |
|
|
if(data_id.find('input').get(0).type == 'checkbox' && |
|
|
|
|
|
data_id.find('input').get(0).checked){ |
|
|
|
|
|
|
|
|
if(data_id.find('input').get(0).type == 'checkbox'){ |
|
|
|
|
|
if(data_id.find('input').get(0).checked){ |
|
|
text = _t("True"); |
|
|
text = _t("True"); |
|
|
} |
|
|
} |
|
|
else { |
|
|
else { |
|
@ -109,6 +109,10 @@ openerp.web_export_view = function(openerp) { |
|
|
else { |
|
|
else { |
|
|
text = cell.text || cell.textContent || cell.innerHTML || ""; |
|
|
text = cell.text || cell.textContent || cell.innerHTML || ""; |
|
|
} |
|
|
} |
|
|
|
|
|
} |
|
|
|
|
|
else{ |
|
|
|
|
|
text = cell.text || cell.textContent || cell.innerHTML || ""; |
|
|
|
|
|
} |
|
|
export_row.push(text.trim()); |
|
|
export_row.push(text.trim()); |
|
|
}); |
|
|
}); |
|
|
export_rows.push(export_row); |
|
|
export_rows.push(export_row); |
|
|