I'm trying to implement a function that takes IDs from selectable one2many field in the wizard. The only way I found on how to do it was to override(?) _onExecuteAction / execute_action via including it in ActionManager. The problem now is that other buttons are causing errors. For example Edit Attributes on Order Lines. Here's my code:
var ActionManager = require('web.ActionManager');
ActionManager.include({
custom_events: _.extend({}, ActionManager.prototype.custom_events, {
execute_action: '_onExecuteAction',
}),
_onExecuteAction: function(ev){ ... }