Commit bcae45dd authored by Valentin Benozillo's avatar Valentin Benozillo

erp5_core: Add action title field

parent 299a5d6e
......@@ -17,4 +17,7 @@ if workflow_action:
message = translateString("Workflow state may have been updated by other user. Please try again.")
context.Base_redirect('view', keep_items={'portal_status_message': message})
if form.action_title:
return form.action_title
return form.title
......@@ -60,6 +60,7 @@ form.manage_settings(
field_name=form.name,
field_description=form.description,
field_action='Base_doSelect',
field_action_title=form.action_title,
field_update_action=form.update_action,
field_update_action_title=form.update_action_title,
field_enctype=form.enctype,
......@@ -101,6 +102,7 @@ form.manage_settings(
field_name=form.name,
field_description=form.description,
field_action='Base_edit',
field_action_title=form.action_title,
field_update_action=form.update_action,
field_update_action_title=form.update_action_title,
field_enctype=form.enctype,
......
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