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
Gabriel Monnerat
erp5
Commits
5fdee433
Commit
5fdee433
authored
Jan 13, 2014
by
Kazuhiko Shiozaki
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix an issue in selecting '(None)' in workflow interaction property dialog.
parent
ab696283
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
1 deletion
+3
-1
product/ERP5/Interaction.py
product/ERP5/Interaction.py
+2
-0
product/ERP5/dtml/interaction_properties.dtml
product/ERP5/dtml/interaction_properties.dtml
+1
-1
No files found.
product/ERP5/Interaction.py
View file @
5fdee433
...
@@ -149,6 +149,8 @@ class InteractionDefinition (SimpleItem):
...
@@ -149,6 +149,8 @@ class InteractionDefinition (SimpleItem):
activate_script_name
=
()
activate_script_name
=
()
if
'None'
in
script_name
:
if
'None'
in
script_name
:
script_name
=
()
script_name
=
()
if
'None'
in
before_commit_script_name
:
before_commit_script_name
=
()
self
.
portal_type_filter
=
portal_type_filter
self
.
portal_type_filter
=
portal_type_filter
self
.
portal_type_group_filter
=
portal_type_group_filter
self
.
portal_type_group_filter
=
portal_type_group_filter
self
.
title
=
str
(
title
)
self
.
title
=
str
(
title
)
...
...
product/ERP5/dtml/interaction_properties.dtml
View file @
5fdee433
...
@@ -118,7 +118,7 @@
...
@@ -118,7 +118,7 @@
<th align="left">Activities (later)</th>
<th align="left">Activities (later)</th>
<td>
<td>
<select name="activate_script_name:list" multiple size="5">
<select name="activate_script_name:list" multiple size="5">
<option value="">(None)</option>
<option value="
None
">(None)</option>
<dtml-in getAvailableScriptIds sort>
<dtml-in getAvailableScriptIds sort>
<dtml-let selected="_['sequence-item'] in activate_script_name and 'selected' or ' '">
<dtml-let selected="_['sequence-item'] in activate_script_name and 'selected' or ' '">
<option value="&dtml-sequence-item;" &dtml-selected;>&dtml-sequence-item;</option>
<option value="&dtml-sequence-item;" &dtml-selected;>&dtml-sequence-item;</option>
...
...
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