[REVERT] 2 previous revision, as it looks like that the fix causes more troubles...
[odoo/odoo.git] / addons / web / static / src / js / views.js
index 85b2df5..e3e9175 100644 (file)
@@ -1443,7 +1443,6 @@ instance.web.View = instance.web.Widget.extend({
                     console.error("Could not JSON.parse arguments", action_data.args);
                 }
             }
-            context.add({'active_model': dataset.model, 'active_ids': [record_id], 'active_id': record_id});
             args.push(context);
             return dataset.call_button(action_data.name, args).then(handler).then(function () {
                 if (instance.webclient) {