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
c080221c
Commit
c080221c
authored
Feb 20, 2014
by
Vincent Pelletier
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
erp5_base: Avoid calling non-workflow scripts on a workflow context.
parent
24d4f124
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
bt5/erp5_base/WorkflowTemplateItem/portal_workflow/document_security_interaction_workflow/scripts/Document_setContributor.xml
..._interaction_workflow/scripts/Document_setContributor.xml
+1
-1
bt5/erp5_base/bt/revision
bt5/erp5_base/bt/revision
+1
-1
No files found.
bt5/erp5_base/WorkflowTemplateItem/portal_workflow/document_security_interaction_workflow/scripts/Document_setContributor.xml
View file @
c080221c
...
@@ -56,7 +56,7 @@
...
@@ -56,7 +56,7 @@
"""\n
"""\n
document = state_change[\'object\']\n
document = state_change[\'object\']\n
contributor_list = document.getContributorValueList()\n
contributor_list = document.getContributorValueList()\n
person =
contex
t.ERP5Site_getAuthenticatedMemberPersonValue()\n
person =
documen
t.ERP5Site_getAuthenticatedMemberPersonValue()\n
if person is not None and person not in contributor_list:\n
if person is not None and person not in contributor_list:\n
# a real ERP5 Person object does exist\n
# a real ERP5 Person object does exist\n
contributor_list.append(person)\n
contributor_list.append(person)\n
...
...
bt5/erp5_base/bt/revision
View file @
c080221c
1061
1062
\ No newline at end of file
\ No newline at end of file
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