[IMP] Unfold the folded column on record move
bzr revid: hip@tinyerp.com-20121031050905-8r3u9a45kc6dqyue
This commit is contained in:
parent
5f12c5732e
commit
930a5321da
|
@ -57,6 +57,12 @@ openerp.project = function(openerp) {
|
|||
} else if (self.dataset.model === 'project.task') {
|
||||
self.project_display_categ_names();
|
||||
}
|
||||
},
|
||||
on_record_moved: function(record, old_group, old_index, new_group, new_index){
|
||||
var self = this;
|
||||
self._super(record, old_group, old_index, new_group, new_index);
|
||||
if(new_group.state.folded)
|
||||
new_group.do_action_toggle_fold();
|
||||
}
|
||||
});
|
||||
|
||||
|
|
Loading…
Reference in New Issue