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
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
iv
erp5
Commits
edeef5a0
Commit
edeef5a0
authored
Jul 13, 2016
by
iv
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ERP5Workflow: fix typo 'worflow_tool' and default value for transition
parent
0c838de0
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
product/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/Base_getWorkflowHistoryItemList.py
...portal_skins/erp5_core/Base_getWorkflowHistoryItemList.py
+2
-2
product/ERP5Type/Tool/TypesTool.py
product/ERP5Type/Tool/TypesTool.py
+1
-1
No files found.
product/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/Base_getWorkflowHistoryItemList.py
View file @
edeef5a0
...
...
@@ -68,9 +68,9 @@ for workflow_item in portal_workflow.getInfoFor(ob=context, name='history',
transition
=
workflow
.
getTransitionValueById
(
value
)
if
transition
:
if
display
:
value
=
transition
.
title
or
transition
.
actbox_name
value
=
transition
.
title
or
transition
.
actbox_name
or
value
else
:
value
=
transition
.
getReference
()
or
transition
.
actbox_name
value
=
transition
.
getReference
()
or
transition
.
actbox_name
or
value
if
display
:
if
key
==
'error_message'
:
if
same_type
(
value
,
''
):
...
...
product/ERP5Type/Tool/TypesTool.py
View file @
edeef5a0
...
...
@@ -111,7 +111,7 @@ class TypesTool(TypeProvider):
except
AttributeError
:
pass
try
:
worflow_tool
=
self
.
getPortalObject
().
portal_workflow
wor
k
flow_tool
=
self
.
getPortalObject
().
portal_workflow
workflow
=
workflow_tool
.
dynamic_class_generation_interaction_workflow
script_dict
=
{
script
.
getReference
():
script
for
script
in
workflow
.
getScriptValueList
()}
...
...
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