Commit 3854c0fc authored by Romain Courteaud's avatar Romain Courteaud

[erp5_core] Add compatibility for the deprecated BaseWorkflow_viewWorkflowActionDialog

parent b8744df5
...@@ -23,6 +23,8 @@ if not mass_workflow_action: ...@@ -23,6 +23,8 @@ if not mass_workflow_action:
request.form['field_your_previous_mass_workflow_action'] = mass_workflow_action request.form['field_your_previous_mass_workflow_action'] = mass_workflow_action
# XXX This is hardcoded for the hidden field inside Base_viewWorkflowActionDialog # XXX This is hardcoded for the hidden field inside Base_viewWorkflowActionDialog
request.form['field_workflow_form_your_workflow_action'] = mass_workflow_action request.form['field_workflow_form_your_workflow_action'] = mass_workflow_action
# XXX This is hardcoded for the hidden field inside BaseWorkflow_viewWorkflowActionDialog
request.form['field_workflow_form_my_workflow_action'] = mass_workflow_action
if update_method or (previous_mass_workflow_action != mass_workflow_action): if update_method or (previous_mass_workflow_action != mass_workflow_action):
return context.Base_renderForm(dialog_id, return context.Base_renderForm(dialog_id,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment