mirror of
https://github.com/OCA/web.git
synced 2025-02-22 13:21:25 +02:00
[FIX] now export only selected items.
This commit is contained in:
committed by
Pedro M. Baeza
parent
1fa36c5117
commit
9d43c7a6c8
@@ -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 || "";
|
||||
|
||||
Reference in New Issue
Block a user