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
d438818b
Commit
d438818b
authored
Jun 10, 2016
by
iv
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ERP5Workflow: fix WorkflowTool creation
parent
35750071
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
product/ERP5/ERP5Site.py
product/ERP5/ERP5Site.py
+3
-1
No files found.
product/ERP5/ERP5Site.py
View file @
d438818b
...
...
@@ -1697,7 +1697,9 @@ class ERP5Site(FolderMixIn, CMFSite, CacheCookieMixin):
if
not
isinstance
(
tool
,
WorkflowTool
):
# create new Workflow Tool
new_tool
=
self
.
_setObject
(
'portal_workflow_new'
,
WorkflowTool
())
self
.
_setObject
(
'portal_workflow_new'
,
WorkflowTool
())
new_tool
=
self
.
_getOb
(
"portal_workflow_new"
)
LOG
(
"migrateToPortalWorkflowClass, new_tool"
,
0
,
new_tool
)
new_tool
.
_chains_by_type
=
tool
.
_chains_by_type
# copy-paste operation
...
...
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