[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:
@@ -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() {
|
||||
|
||||
Reference in New Issue
Block a user