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
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
Romain Courteaud
erp5
Commits
920e44a4
Commit
920e44a4
authored
Mar 24, 2021
by
Arnaud Fontaine
Committed by
Romain Courteaud
Mar 26, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
SQUASH Fix Unit Tests
parent
333e9dfa
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
product/ERP5Type/patches/DCWorkflow.py
product/ERP5Type/patches/DCWorkflow.py
+2
-2
No files found.
product/ERP5Type/patches/DCWorkflow.py
View file @
920e44a4
...
@@ -38,7 +38,7 @@ from Products.CMFCore.utils import _getAuthenticatedUser
...
@@ -38,7 +38,7 @@ from Products.CMFCore.utils import _getAuthenticatedUser
from
DocumentTemplate.DT_Util
import
TemplateDict
from
DocumentTemplate.DT_Util
import
TemplateDict
from
DateTime
import
DateTime
from
DateTime
import
DateTime
from
Products.ERP5Type.Cache
import
CachingMethod
from
Products.ERP5Type.Cache
import
CachingMethod
from
Products.ERP5Type.Utils
import
convertToMixedCase
from
Products.ERP5Type.Utils
import
convertToMixedCase
,
convertToUpperCase
import
sys
import
sys
from
Acquisition
import
aq_base
from
Acquisition
import
aq_base
from
copy
import
deepcopy
from
copy
import
deepcopy
...
@@ -970,7 +970,7 @@ def convertToERP5Workflow(self, temp_object=False):
...
@@ -970,7 +970,7 @@ def convertToERP5Workflow(self, temp_object=False):
# give temp workflow an uid for form_dialog.
# give temp workflow an uid for form_dialog.
workflow
.
uid
=
uid
workflow
.
uid
=
uid
workflow
.
default_reference
=
self
.
id
workflow
.
default_reference
=
self
.
id
workflow
.
setTitle
(
self
.
title
)
workflow
.
setTitle
(
convertToUpperCase
(
self
.
title
)
)
workflow
.
setDescription
(
self
.
description
)
workflow
.
setDescription
(
self
.
description
)
if
not
temp_object
:
if
not
temp_object
:
...
...
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