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
Amer
erp5
Commits
3470d783
Commit
3470d783
authored
May 21, 2015
by
wenjie.zheng
Committed by
Sebastien Robin
Jul 16, 2015
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ERP5Site.py: format correction.
parent
6c8ba253
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
product/ERP5/ERP5Site.py
product/ERP5/ERP5Site.py
+2
-2
No files found.
product/ERP5/ERP5Site.py
View file @
3470d783
...
...
@@ -761,7 +761,7 @@ class ERP5Site(FolderMixIn, CMFSite, CacheCookieMixin):
state_dict
=
{}
for
wf
in
self
.
portal_workflow
.
objectValues
():
state_list
=
wf
.
getStateValueList
()
for
state_id
in
wf
.
getStateValueList
():
for
state_id
in
state_list
.
keys
():
state
=
state_list
[
state_id
]
if
group
in
getattr
(
state
,
'type_list'
,
()):
state_dict
[
state
.
getReference
()]
=
None
...
...
@@ -1286,7 +1286,7 @@ class ERP5Site(FolderMixIn, CMFSite, CacheCookieMixin):
for
wf
in
self
.
portal_workflow
.
objectValues
():
if
wf
.
getVariableValueList
()
and
wf
.
getStateVariable
()
==
'simulation_state'
:
state_list
=
wf
.
getStateValueList
()
for
state_id
in
state_list
:
for
state_id
in
state_list
.
keys
()
:
state
=
state_list
[
state_id
]
if
getattr
(
state
,
'type_list'
,
None
):
state_dict
[
state
.
getReference
()]
=
None
...
...
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