[FIX] there is no view type 'list' in the openerp server, testing would be magic
bzr revid: xmo@openerp.com-20110907063457-crgv4xxes23k0k4t
This commit is contained in:
parent
ce55ea5255
commit
0a4ebd1ed9
|
@ -373,7 +373,7 @@ openerp.web.ListView = openerp.web.View.extend( /** @lends openerp.web.ListView#
|
|||
return this.rpc('/web/listview/load', {
|
||||
model: this.model,
|
||||
view_id: this.view_id,
|
||||
"view_type": "list",
|
||||
view_type: "tree",
|
||||
context: this.dataset.get_context(context),
|
||||
toolbar: this.options.sidebar
|
||||
}, callback);
|
||||
|
|
Loading…
Reference in New Issue