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