Adil Houmadi 10 years ago
parent
commit
291f122d52
  1. 5
      web_export_view/static/src/js/web_export_view.js

5
web_export_view/static/src/js/web_export_view.js

@ -20,8 +20,7 @@
//#############################################################################
openerp.web_export_view = function (instance) {
var _t = instance.web._t,
QWeb = instance.web.qweb;
var _t = instance.web._t, QWeb = instance.web.qweb;
instance.web.Sidebar.include({
redraw: function () {
@ -32,7 +31,7 @@ openerp.web_export_view = function (instance) {
self.$el.find('.oe_sidebar_export_view_xls').on('click', self.on_sidebar_export_view_xls);
}
},
on_sidebar_export_view_xls: function () {
// Select the first list of the current (form) view
// or assume the main view is a list view and use that

Loading…
Cancel
Save