Commit add5980c authored by Nicolas Dumazet's avatar Nicolas Dumazet

XMLMatrix._updateCellRange expects asCellRange to use base_id keyword, and no

positional parameters


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@33612 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 8a445ce0
......@@ -55,7 +55,7 @@
<key> <string>_body</string> </key>
<value> <string encoding="cdata"><![CDATA[
# base_cell_id possible value: \'quantity\', \'variation\'\n
# base_id possible value: \'quantity\', \'variation\'\n
\n
get_variation_base_category_method_dict = {\n
\'quantity\': \'getQVariationBaseCategoryList\',\n
......@@ -76,7 +76,7 @@ tab_base_category_list = filter(lambda x: x not in [line_base_category, \n
for c in ([line_base_category, column_base_category] + tab_base_category_list):\n
# try to display line first, then column, and finally others\n
if c in getattr(context, \n
get_variation_base_category_method_dict[base_cell_id])():\n
get_variation_base_category_method_dict[base_id])():\n
# base category was selected by user\n
if matrixbox == 1:\n
# XXX matrixbox is right_display (not as listfield) \n
......@@ -104,7 +104,7 @@ return cell_range\n
</item>
<item>
<key> <string>_params</string> </key>
<value> <string>base_cell_id, matrixbox=0, base_id=None</string> </value>
<value> <string>matrixbox=0, base_id=None</string> </value>
</item>
<item>
<key> <string>errors</string> </key>
......@@ -124,13 +124,12 @@ return cell_range\n
<dictionary>
<item>
<key> <string>co_argcount</string> </key>
<value> <int>3</int> </value>
<value> <int>2</int> </value>
</item>
<item>
<key> <string>co_varnames</string> </key>
<value>
<tuple>
<string>base_cell_id</string>
<string>matrixbox</string>
<string>base_id</string>
<string>get_variation_base_category_method_dict</string>
......
464
\ No newline at end of file
465
\ 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