[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:
Xavier Morel 2012-10-04 15:38:40 +02:00
parent 1b17b59f50
commit 25f695a650
1 changed files with 2 additions and 0 deletions

View File

@ -53,6 +53,8 @@ openerp.base_import = function (instance) {
params: {
model: self.dataset.model
}
}, void 0, void 0, function () {
self.reload();
});
return false;
});