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
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Sebastien Robin
erp5
Commits
ae19b4cc
Commit
ae19b4cc
authored
Jul 18, 2016
by
iv
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ERP5Workflow: remove logs
parent
50dd666d
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
4 deletions
+0
-4
product/ERP5Type/tests/ERP5TypeTestCase.py
product/ERP5Type/tests/ERP5TypeTestCase.py
+0
-3
product/ERP5Workflow/Document/Workflow.py
product/ERP5Workflow/Document/Workflow.py
+0
-1
No files found.
product/ERP5Type/tests/ERP5TypeTestCase.py
View file @
ae19b4cc
...
...
@@ -1013,17 +1013,14 @@ class ERP5TypeCommandLineTestCase(ERP5TypeTestCaseMixin):
continue
workflow
=
workflow_tool
.
_getOb
(
workflow_id
)
if
workflow
.
getPortalType
()
not
in
[
'Workflow'
,
'Interaction Workflow'
,
'Configuration Workflow'
]:
LOG
(
"### workflow id"
,
0
,
workflow_id
)
new_workflow
=
workflow_tool
.
dc_workflow_asERP5Object
(
workflow
,
is_temporary
=
False
)
workflow_tool
.
reassignWorkflow
(
workflow_id
)
self
.
commit
()
LOG
(
"### reassigned"
,
0
,
workflow_id
)
# force convert edit_workflow: Why have to load edit_workflow this way?
edit_workflow
=
workflow_tool
.
_getOb
(
'edit_workflow'
,
None
)
if
edit_workflow
is
not
None
:
new_workflow
=
workflow_tool
.
dc_workflow_asERP5Object
(
edit_workflow
,
is_temporary
=
False
)
workflow_tool
.
reassignWorkflow
(
'edit_workflow'
)
LOG
(
"### edit workflow"
,
0
,
"after reassignment"
)
self
.
commit
()
# Reset the original workflows assignement order.
for
type_value
in
sorted
(
type_tool
.
objectValues
()):
...
...
product/ERP5Workflow/Document/Workflow.py
View file @
ae19b4cc
...
...
@@ -513,7 +513,6 @@ class Workflow(IdAsReferenceMixin("", "prefix"), XMLObject):
return
id_list
def
getTransitionValueById
(
self
,
transition_reference
):
LOG
(
"### getTransitionValueById"
,
0
,
transition_reference
)
return
self
.
_getOb
(
'transition_'
+
transition_reference
,
None
)
def
getTransitionValueList
(
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