[FIX] invocation of import and export dialogs
bzr revid: xmo@openerp.com-20120814143003-ss974ub0yym09gyt
This commit is contained in:
parent
824a0568c6
commit
b7a5629052
|
@ -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({
|
||||
|
|
Loading…
Reference in New Issue