[FIX] Correctly add new kanban records (from unfolding column) to dataset so they can be edited in form view

bzr revid: xmo@openerp.com-20120831101020-gbopma1a828phvv0
This commit is contained in:
Xavier Morel
2012-08-31 12:10:20 +02:00
@@ -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() {