Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
E
erp5_rtl_support
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
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Romain Courteaud
erp5_rtl_support
Commits
0ddd63b9
Commit
0ddd63b9
authored
May 24, 2011
by
Yusei Tahara
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix a bug. Some variation categories may not be selected.
parent
f4c79114
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
product/ERP5Type/tests/utils.py
product/ERP5Type/tests/utils.py
+3
-2
No files found.
product/ERP5Type/tests/utils.py
View file @
0ddd63b9
...
...
@@ -540,8 +540,9 @@ def updateCellList(portal, line, cell_type, cell_range_method, cell_dict_list):
index_list
=
line
.
index
[
base_id
].
keys
()
index_list
.
sort
()
for
index
in
index_list
:
base_category
=
line
.
index
[
base_id
][
index
].
keys
()[
0
].
split
(
'/'
)[
0
]
result
.
append
(
category_dict
[
base_category
])
if
line
.
index
[
base_id
][
index
]:
base_category
=
line
.
index
[
base_id
][
index
].
keys
()[
0
].
split
(
'/'
)[
0
]
result
.
append
(
category_dict
[
base_category
])
return
result
for
cell_dict
in
cell_dict_list
:
...
...
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