Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
Laurent S
erp5
Commits
fac87819
Commit
fac87819
authored
10 years ago
by
wenjie.zheng
Browse files
Options
Download
Email Patches
Plain Diff
Transition.py: remove old variable update part.
parent
d9ca582b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
13 deletions
+0
-13
product/ERP5Workflow/Document/Transition.py
product/ERP5Workflow/Document/Transition.py
+0
-13
No files found.
product/ERP5Workflow/Document/Transition.py
View file @
fac87819
...
...
@@ -268,19 +268,6 @@ class Transition(XMLObject):
for
variable
in
self
.
contentValues
(
portal_type
=
'Transition Variable'
):
status_dict
[
variable
.
getCausalityTitle
()]
=
variable
.
getInitialValue
(
object
=
object
)
"""
# Update all variables
for variable in workflow.contentValues(portal_type='Variable'):
if variable.getAutomaticUpdate() == 1:
# if we have it in form get it from there
# otherwise use default
variable_id = variable.getId()
if variable_id in form_kw:
status_dict[variable_id] = form_kw[variable_id]
else:
status_dict[variable_id] = variable.getInitialValue(object=object)
"""
# Generate Workflow History List
self
.
setStatusOf
(
workflow
.
getId
(),
document
,
status_dict
)
...
...
This diff is collapsed.
Click to expand it.
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