summaryrefslogtreecommitdiff
path: root/addons/web/controllers/main.py
diff options
context:
space:
mode:
Diffstat (limited to 'addons/web/controllers/main.py')
-rw-r--r--addons/web/controllers/main.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/addons/web/controllers/main.py b/addons/web/controllers/main.py
index 379838fc7d0..98387b74106 100644
--- a/addons/web/controllers/main.py
+++ b/addons/web/controllers/main.py
@@ -937,8 +937,8 @@ class DataSet(http.Controller):
return self._call_kw(model, method, args, kwargs)
@http.route('/web/dataset/call_button', type='json', auth="user")
- def call_button(self, model, method, args, domain_id=None, context_id=None):
- action = self._call_kw(model, method, args, {})
+ def call_button(self, model, method, args, kwargs):
+ action = self._call_kw(model, method, args, kwargs)
if isinstance(action, dict) and action.get('type') != '':
return clean_action(action)
return False