[FIX] support virtual ids
bzr revid: fme@openerp.com-20130212131852-xuq4otkb9ooloc9u
This commit is contained in:
parent
8d85375835
commit
ef7978efde
|
@ -229,7 +229,8 @@ instance.web.ActionManager = instance.web.Widget.extend({
|
|||
// It means that if there's only one item, it will do parseInt() on it,
|
||||
// otherwise it will keep the comma seperated list as string.
|
||||
add_context.active_ids = state.active_ids.toString().split(',').map(function(id) {
|
||||
return parseInt(id, 10);
|
||||
var rid = parseInt(id, 10);
|
||||
return rid || id;
|
||||
});
|
||||
}
|
||||
this.null_action();
|
||||
|
|
Loading…
Reference in New Issue