[FIX]Refixed the issue of kanban view, do_show_more button, the id was not pushed in dataset, used _.contains.

bzr revid: msh@openerp.com-20120715081719-srdb1xo48ywn9y4h
This commit is contained in:
Mohammed Shekha
2012-07-15 13:47:19 +05:30
@@ -387,6 +387,9 @@ openerp.web_kanban.KanbanRecord = openerp.web.OldWidget.extend({
},
set_record: function(record) {
this.id = record.id;
if(!_(this.view.dataset.ids).contains(this.id){
this.view.dataset.ids.push(this.id)
}
this.record = this.transform_record(record);
},
start: function() {