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
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
Romain Courteaud
erp5
Commits
5b127fe9
Commit
5b127fe9
authored
Mar 26, 2021
by
Arnaud Fontaine
Committed by
Romain Courteaud
Mar 26, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
SQUASH
parent
6aefc554
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
4 deletions
+4
-4
product/ERP5/bootstrap/erp5_core/ActionTemplateItem/portal_types/Business%20Template/convert_to_ERP5_workflows.xml
...l_types/Business%20Template/convert_to_ERP5_workflows.xml
+2
-2
product/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/BusinessTemplate_convertAllDCWorkflowToERP5Workflow.py
...re/BusinessTemplate_convertAllDCWorkflowToERP5Workflow.py
+1
-1
product/ERP5Type/patches/DCWorkflow.py
product/ERP5Type/patches/DCWorkflow.py
+1
-1
No files found.
product/ERP5/bootstrap/erp5_core/ActionTemplateItem/portal_types/Business%20Template/convert_to_ERP5_workflows.xml
View file @
5b127fe9
...
@@ -62,7 +62,7 @@
...
@@ -62,7 +62,7 @@
</item>
</item>
<item>
<item>
<key>
<string>
title
</string>
</key>
<key>
<string>
title
</string>
</key>
<value>
<string>
Convert
workflows
to ERP5 Workflows
</string>
</value>
<value>
<string>
Convert
DCWorkflow
to ERP5 Workflows
</string>
</value>
</item>
</item>
<item>
<item>
<key>
<string>
visible
</string>
</key>
<key>
<string>
visible
</string>
</key>
...
@@ -79,7 +79,7 @@
...
@@ -79,7 +79,7 @@
<dictionary>
<dictionary>
<item>
<item>
<key>
<string>
text
</string>
</key>
<key>
<string>
text
</string>
</key>
<value>
<string>
string:${object_url}/BusinessTemplate_convert
ToERP5Workflows
</string>
</value>
<value>
<string>
string:${object_url}/BusinessTemplate_convert
AllDCWorkflowToERP5Workflow
</string>
</value>
</item>
</item>
</dictionary>
</dictionary>
</pickle>
</pickle>
...
...
product/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/BusinessTemplate_convertAllDCWorkflowToERP5Workflow.py
View file @
5b127fe9
workflow_tool
=
context
.
getPortalObject
()
workflow_tool
=
context
.
getPortalObject
()
.
portal_workflow
unknown_workflow_id_list
=
[]
unknown_workflow_id_list
=
[]
for
workflow_id
in
context
.
getTemplateWorkflowIdList
():
for
workflow_id
in
context
.
getTemplateWorkflowIdList
():
try
:
try
:
...
...
product/ERP5Type/patches/DCWorkflow.py
View file @
5b127fe9
...
@@ -644,7 +644,7 @@ def StateDefinition_getDestinationIdList(self):
...
@@ -644,7 +644,7 @@ def StateDefinition_getDestinationIdList(self):
return
self
.
transitions
return
self
.
transitions
def
StateDefinition_getDestinationValueList
(
self
):
def
StateDefinition_getDestinationValueList
(
self
):
if
self
.
transitions
:
# empty tuple by default
if
self
.
transitions
:
# empty tuple by default
return
[
v
for
i
,
v
in
self
.
getWorkflow
().
transitions
.
ite
rite
ms
()
return
[
v
for
i
,
v
in
self
.
getWorkflow
().
transitions
.
items
()
if
i
in
self
.
transitions
]
if
i
in
self
.
transitions
]
return
[]
return
[]
def
StateDefinition_getStateTypeList
(
self
):
def
StateDefinition_getStateTypeList
(
self
):
...
...
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