Commit 9c53072e authored by Nicolas Dumazet's avatar Nicolas Dumazet

revert r33611. Even if Range methods seem to give the expected methods,

Ranges return whole possible range, while non-range methods return the values
applicable for the instead. In XMLMatrix context, non-range methods are relevant


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@33614 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent b2d4a3ec
......@@ -82,10 +82,10 @@ for c in ([line_base_category, column_base_category] + tab_base_category_list):\
# XXX matrixbox is right_display (not as listfield) \n
# => invert display and value in item\n
cell_range.append(map(lambda x: (x[1],x[0]), \n
transformation.getVariationRangeCategoryItemList\n
transformation.getVariationCategoryItemList\n
(base_category_list=(c,))))\n
else:\n
cell_range.append(transformation.getVariationRangeCategoryList(\n
cell_range.append(transformation.getVariationCategoryList(\n
base_category_list=(c,)))\n
\n
# Remove empty range\n
......
465
\ No newline at end of file
466
\ No newline at end of file
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment