[REF] web: /web/action/load: remove unused 'do_not_eval' argument
unused since rev. odoo/odoo@4a5cb1ebc4.
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user