Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
erp5
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
alecs_myu
erp5
Commits
1a85bbcb
Commit
1a85bbcb
authored
Jul 06, 2015
by
wenjie.zheng
Committed by
Sebastien Robin
Jul 16, 2015
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
erp5_workflow: in convert workflow script, replace abbreviation.
parent
080fc0b0
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
bt5/erp5_workflow/SkinTemplateItem/portal_skins/erp5_workflow/WorkflowTool_convertWorkflow.xml
...rtal_skins/erp5_workflow/WorkflowTool_convertWorkflow.xml
+3
-3
No files found.
bt5/erp5_workflow/SkinTemplateItem/portal_skins/erp5_workflow/WorkflowTool_convertWorkflow.xml
View file @
1a85bbcb
...
...
@@ -56,7 +56,7 @@ REQUEST = container.REQUEST\n
RESPONSE = REQUEST.RESPONSE\n
workflow_list = kw.get(\'workflow_list\')\n
selected_workflow_list = []\n
selected_w
f
_id_list = []\n
selected_w
orkflow
_id_list = []\n
\n
if batch_mode == False and workflow_id_list is None:\n
if workflow_list:\n
...
...
@@ -88,7 +88,7 @@ for workflow in selected_workflow_list:\n
# conversion\n
dc_workflow_xml = workflow.showAsXML()\n
new_workflow = context.dc_workflow_asERP5Object(context, workflow, temp=0)\n
selected_w
f
_id_list.append(workflow.id)\n
selected_w
orkflow
_id_list.append(workflow.id)\n
assert new_workflow.showAsXML() == dc_workflow_xml\n
\n
type_workflow_dict = context.getChainsByType()\n
...
...
@@ -106,7 +106,7 @@ if batch_mode:\n
return\n
\n
return RESPONSE.redirect("%s/view?portal_status_message=Workflow+%s+converted"\n
%(context.absolute_url(), \',+\'.join(selected_w
f
_id_list)))\n
%(context.absolute_url(), \',+\'.join(selected_w
orkflow
_id_list)))\n
</string>
</value>
</item>
<item>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment