[FIX] editor base state: initializing formview (and its pager) requires an actual dataset.ids.length

bzr revid: xmo@openerp.com-20120801123635-y21onweovg0uih7d
This commit is contained in:
Xavier Morel
2012-08-01 14:36:35 +02:00
parent 8a7428d731
commit f5bff3996b
+1 -1
View File
@@ -72,7 +72,7 @@ $(document).ready(function () {
});
asyncTest('base-state', 2, function () {
var e = new instance.web.list.Editor({
dataset: {},
dataset: {ids: []},
edition_view: function () {
return makeFormView();
}