[REF] web: /web/action/load: remove unused 'do_not_eval' argument

unused since rev. odoo/odoo@4a5cb1ebc4.
This commit is contained in:
Aaron Bohy
2016-03-18 10:44:52 +01:00
parent 91163c8c1e
commit 85066e7bcd
2 changed files with 1 additions and 2 deletions
+1 -1
View File
@@ -1103,7 +1103,7 @@ class Binary(http.Controller):
class Action(http.Controller):
@http.route('/web/action/load', type='json', auth="user")
def load(self, action_id, do_not_eval=False, additional_context=None):
def load(self, action_id, additional_context=None):
Actions = request.session.model('ir.actions.actions')
value = False
try:
@@ -153,7 +153,6 @@ var View = Widget.extend({
return this.rpc('/web/action/load', {
action_id: action_data.name,
context: _.extend(pyeval.eval('context', context), {'active_model': dataset.model, 'active_ids': dataset.ids, 'active_id': record_id}),
do_not_eval: true
}).then(handler);
} else {
return dataset.exec_workflow(record_id, action_data.name).then(handler);