[FIX] kanban :- if no record found then display as a blank page.
bzr revid: ysa@tinyerp.com-20110922072001-u3rcsst3g0y9vwiz
This commit is contained in:
parent
5ba40e5639
commit
b20f60ba61
|
@ -432,7 +432,13 @@ openerp.web_kanban.KanbanView = openerp.web.View.extend({
|
|||
self.datagroup.list([],
|
||||
function (groups) {
|
||||
self.groups = groups;
|
||||
self.do_render_group(groups);
|
||||
if (groups.length) {
|
||||
self.do_render_group(groups);
|
||||
}
|
||||
else {
|
||||
self.all_display_data = [];
|
||||
self.on_show_data();
|
||||
}
|
||||
},
|
||||
function (dataset) {
|
||||
self.groups = [];
|
||||
|
|
Loading…
Reference in New Issue