Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
erp5-Boxiang
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
Hamza
erp5-Boxiang
Commits
35962619
Commit
35962619
authored
May 29, 2015
by
wenjie.zheng
Committed by
Sebastien Robin
Jul 16, 2015
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ERP5Site.py: erp5_workflow template requires to be installed manually.
parent
de22d4a8
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
5 deletions
+0
-5
product/ERP5/ERP5Site.py
product/ERP5/ERP5Site.py
+0
-5
No files found.
product/ERP5/ERP5Site.py
View file @
35962619
...
...
@@ -1644,11 +1644,6 @@ class ERP5Site(FolderMixIn, CMFSite, CacheCookieMixin):
"""
tool
=
self
.
portal_workflow
if
tool
.
getPortalType
()
!=
'ERP5 Workflow Tool'
:
template_tool
=
self
.
getPortalObject
().
portal_templates
if
template_tool
.
getInstalledBusinessTemplate
(
'erp5_workflow'
)
is
None
:
template_tool
.
installBusinessTemplateListFromRepository
(
[
'erp5_workflow'
],
activate
=
True
,
install_dependency
=
True
)
object_id_list
=
tool
.
objectIds
()
object_clipboard
=
tool
.
manage_copyObjects
(
object_id_list
)
new_tool
=
self
.
newContent
(
id
=
'portal_workflow_new'
,
portal_type
=
'ERP5 Workflow Tool'
)
...
...
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