Migrate web_export_view to v 8.0

This commit is contained in:
Adil Houmadi
2014-07-26 14:37:23 +02:00
parent a0c192e8e0
commit 5ecec62023
7 changed files with 57 additions and 32 deletions

View File

@@ -18,7 +18,6 @@
// along with this program. If not, see <http://www.gnu.org/licenses/>.
//
//#############################################################################
openerp.web_export_view = function (instance) {
debugger;
@@ -94,21 +93,20 @@ openerp.web_export_view = function (instance) {
});
export_rows.push(export_row);
}
;
}
});
$.blockUI();
debugger;
view.session.get_file({
url: '/web/export/xls_view',
data: {data: JSON.stringify({
model: view.model,
headers: export_columns_names,
rows: export_rows,
rows: export_rows
})},
complete: $.unblockUI
});
},
}
});
};

View File

@@ -1,6 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<!-- vim:fdl=1:
-->
<templates id="template" xml:space="preserve">
<t t-name="AddExportViewMain">
<div class="oe_form_dropdown_section">