[IMP] pass restore callback to import action
so that the listview can reload itself after coming back from an import (successful or not) and show the results of the import. bzr revid: xmo@openerp.com-20121004133840-a2uy4s5qhpqqvp8h
This commit is contained in:
parent
1b17b59f50
commit
25f695a650
|
@ -53,6 +53,8 @@ openerp.base_import = function (instance) {
|
|||
params: {
|
||||
model: self.dataset.model
|
||||
}
|
||||
}, void 0, void 0, function () {
|
||||
self.reload();
|
||||
});
|
||||
return false;
|
||||
});
|
||||
|
|
Loading…
Reference in New Issue