[FIX] invocation of import and export dialogs

bzr revid: xmo@openerp.com-20120814143003-ss974ub0yym09gyt
This commit is contained in:
Xavier Morel 2012-08-14 16:30:03 +02:00
parent 824a0568c6
commit b7a5629052
1 changed files with 2 additions and 4 deletions

View File

@ -1331,12 +1331,10 @@ instance.web.View = instance.web.Widget.extend({
do_search: function(view) {
},
on_sidebar_import: function() {
var import_view = new instance.web.DataImport(this, this.dataset);
import_view.start();
new instance.web.DataImport(this, this.dataset).open();
},
on_sidebar_export: function() {
var export_view = new instance.web.DataExport(this, this.dataset);
export_view.start();
new instance.web.DataExport(this, this.dataset).open();
},
on_sidebar_translate: function() {
return this.do_action({