Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
E
erp5_workflow
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
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wenjie.zheng
erp5_workflow
Commits
1a37846b
Commit
1a37846b
authored
Oct 16, 2015
by
wenjie.zheng
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
erp5_forge: GlossaryModule_getBusinessFieldWorkflowList compatibility modification.
parent
7ba6d158
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
bt5/erp5_forge/SkinTemplateItem/portal_skins/erp5_glossary/GlossaryModule_getBusinessFieldWorkflowList.xml
..._glossary/GlossaryModule_getBusinessFieldWorkflowList.xml
+2
-2
No files found.
bt5/erp5_forge/SkinTemplateItem/portal_skins/erp5_glossary/GlossaryModule_getBusinessFieldWorkflowList.xml
View file @
1a37846b
...
@@ -78,9 +78,9 @@ def get_obj_and_reference_list(business_field):\n
...
@@ -78,9 +78,9 @@ def get_obj_and_reference_list(business_field):\n
wf = getattr(portal_workflow, wf_id)\n
wf = getattr(portal_workflow, wf_id)\n
if getattr(wf, "interactions", marker) is marker: # only way to make sure it is not an interaction workflow ?\n
if getattr(wf, "interactions", marker) is marker: # only way to make sure it is not an interaction workflow ?\n
result.append((wf, wf_id, \'workflow\'))\n
result.append((wf, wf_id, \'workflow\'))\n
for state_id, state in wf.
states
.items():\n
for state_id, state in wf.
getStateValueList()
.items():\n
result.append((state, state_id, \'state\'))\n
result.append((state, state_id, \'state\'))\n
for trans_id, trans in wf.
transitions
.items():\n
for trans_id, trans in wf.
getTransitionValueList()
.items():\n
result.append((trans, trans_id, \'transition\'))\n
result.append((trans, trans_id, \'transition\'))\n
if trans.trigger_type == 1 and trans.actbox_name: # 1 == TRIGGER_USER_ACTION\n
if trans.trigger_type == 1 and trans.actbox_name: # 1 == TRIGGER_USER_ACTION\n
result.append((trans, "%s_actbox_name" % trans_id, \'action\'))\n
result.append((trans, "%s_actbox_name" % trans_id, \'action\'))\n
...
...
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