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
Levin Zimmermann
erp5
Commits
2a7ec09f
Commit
2a7ec09f
authored
Mar 30, 2021
by
Arnaud Fontaine
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
SQUASH
parent
4a925262
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
7 deletions
+6
-7
bt5/erp5_administration/ExtensionTemplateItem/portal_components/extension.erp5.ERP5Administration.py
...em/portal_components/extension.erp5.ERP5Administration.py
+6
-7
No files found.
bt5/erp5_administration/ExtensionTemplateItem/portal_components/extension.erp5.ERP5Administration.py
View file @
2a7ec09f
...
@@ -32,15 +32,14 @@ def dumpWorkflowChain(self, ignore_default=False,
...
@@ -32,15 +32,14 @@ def dumpWorkflowChain(self, ignore_default=False,
if
title
==
id_
:
if
title
==
id_
:
title
=
None
title
=
None
chain
=
None
chain
=
None
if
cbt
is
not
None
and
cbt
.
has_key
(
id_
):
cbt_list
=
[
x
for
x
in
t
.
getTypeWorkflowList
()
if
not
(
x
in
ignore_id_set
)]
cbt_list
=
[
x
for
x
in
cbt
[
id_
]
if
not
(
x
in
ignore_id_set
)]
if
not
cbt_list
:
if
keep_order
:
if
not
(
ignore_default
):
chain
=
[
'(Default)'
]
elif
keep_order
:
chain
=
cbt_list
chain
=
cbt_list
else
:
else
:
chain
=
sorted
(
cbt_list
)
chain
=
sorted
(
cbt_list
)
else
:
if
not
(
ignore_default
):
chain
=
[
'(Default)'
]
if
chain
:
if
chain
:
types_info
.
append
({
'id'
:
id_
,
types_info
.
append
({
'id'
:
id_
,
'title'
:
title
,
'title'
:
title
,
...
...
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