[FIX] web: view's do_execute_action with multiple input ids

Commit of xmo that has been lost by the unduplication of webclients (6768bbfc).
This commit is contained in:
Aaron Bohy
2016-04-26 16:34:47 +02:00
parent d99c68ff39
commit 21462f4141
+1 -1
View File
@@ -106,7 +106,7 @@ var View = Widget.extend({
if (action_data.special === 'cancel') {
return handler({"type":"ir.actions.act_window_close"});
} else if (action_data.type === "object") {
var args = [[record_id]];
var args = record_id ? [[record_id]] : [dataset.ids];
if (action_data.args) {
try {
// Warning: quotes and double quotes problem due to json and xml clash