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
Labels
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
Romain Courteaud
erp5
Commits
5914113f
Commit
5914113f
authored
Mar 24, 2021
by
Arnaud Fontaine
Committed by
Romain Courteaud
Mar 26, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
SQUASH CLEANUP
parent
5a39f9ca
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
10 deletions
+0
-10
product/ERP5Type/Core/WorkflowScript.py
product/ERP5Type/Core/WorkflowScript.py
+0
-10
No files found.
product/ERP5Type/Core/WorkflowScript.py
View file @
5914113f
...
@@ -38,7 +38,6 @@ class WorkflowScript(PythonScript, IdAsReferenceMixin("script_")):
...
@@ -38,7 +38,6 @@ class WorkflowScript(PythonScript, IdAsReferenceMixin("script_")):
meta_type
=
'ERP5 Workflow Script'
meta_type
=
'ERP5 Workflow Script'
portal_type
=
'Workflow Script'
portal_type
=
'Workflow Script'
add_permission
=
Permissions
.
AddPortalContent
add_permission
=
Permissions
.
AddPortalContent
_params
=
''
security
=
ClassSecurityInfo
()
security
=
ClassSecurityInfo
()
security
.
declareObjectProtected
(
Permissions
.
AccessContentsInformation
)
security
.
declareObjectProtected
(
Permissions
.
AccessContentsInformation
)
...
@@ -52,13 +51,4 @@ class WorkflowScript(PythonScript, IdAsReferenceMixin("script_")):
...
@@ -52,13 +51,4 @@ class WorkflowScript(PythonScript, IdAsReferenceMixin("script_")):
'PythonScript'
,
'PythonScript'
,
)
)
security
.
declarePublic
(
"execute"
)
execute
=
PythonScript
.
__call__
security
.
declareProtected
(
Permissions
.
AccessContentsInformation
,
'getScriptParameterList'
)
def
getScriptParameterList
(
self
):
''' returns script's parameter for use by Pylint '''
return
self
.
_params
InitializeClass
(
WorkflowScript
)
InitializeClass
(
WorkflowScript
)
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