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
Laurent S
erp5
Commits
1b52059b
Commit
1b52059b
authored
Feb 19, 2018
by
Julien Muchembled
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
CMFActivity: drop ActiveProcess.activateResult
It became superfluous with commit
797a8c29
.
parent
994ba134
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
6 deletions
+1
-6
bt5/erp5_administration/ExtensionTemplateItem/portal_components/extension.erp5.ERP5Administration.py
...em/portal_components/extension.erp5.ERP5Administration.py
+1
-1
product/CMFActivity/ActiveProcess.py
product/CMFActivity/ActiveProcess.py
+0
-5
No files found.
bt5/erp5_administration/ExtensionTemplateItem/portal_components/extension.erp5.ERP5Administration.py
View file @
1b52059b
...
...
@@ -167,7 +167,7 @@ def checkConversionToolAvailability(self):
severity
=
1
result
.
edit
(
detail
=
message
)
result
.
edit
(
severity
=
severity
)
active_process
.
activate
Result
(
result
)
active_process
.
post
Result
(
result
)
from
Products.ERP5Type.Utils
import
checkPythonSourceCode
...
...
product/CMFActivity/ActiveProcess.py
View file @
1b52059b
...
...
@@ -124,11 +124,6 @@ class ActiveProcess(Base):
return
result_list
.
values
()
return
list
(
result_list
)
security
.
declareProtected
(
CMFCorePermissions
.
ManagePortal
,
'activateResult'
)
def
activateResult
(
self
,
result
):
if
result
not
in
(
None
,
0
,
''
,
(),
[]):
self
.
postResult
(
result
)
# Until we get SQLQueue
security
.
declareProtected
(
CMFCorePermissions
.
View
,
'hasActivity'
)
def
hasActivity
(
self
,
**
kw
):
"""
...
...
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