diff options
| author | Fabien Meghazi <fme@openerp.com> | 2013-02-12 14:18:52 +0100 |
|---|---|---|
| committer | Fabien Meghazi <fme@openerp.com> | 2013-02-12 14:18:52 +0100 |
| commit | ef7978efded7d853f1abab8edd9ddb7b4b1aa506 (patch) | |
| tree | d42955b2d170bc10f008f868253fa03990cf5a6c /addons/web/static/src | |
| parent | 8d853758355bb8ebc2192d8e373272dead7d436b (diff) | |
[FIX] support virtual ids
bzr revid: fme@openerp.com-20130212131852-xuq4otkb9ooloc9u
Diffstat (limited to 'addons/web/static/src')
| -rw-r--r-- | addons/web/static/src/js/views.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/addons/web/static/src/js/views.js b/addons/web/static/src/js/views.js index fbb1a2ec770..ad6569b2076 100644 --- a/addons/web/static/src/js/views.js +++ b/addons/web/static/src/js/views.js @@ -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(); |
