Commit 8300a01b authored by Kevin Deldycke's avatar Kevin Deldycke

Alex: modified InvoiceLine_asCellRange to support options

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@6391 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent d45e0dd1
...@@ -71,7 +71,7 @@ ...@@ -71,7 +71,7 @@
resource = context.getResourceValue()\n resource = context.getResourceValue()\n
cell_range = []\n cell_range = []\n
if resource is not None:\n if resource is not None:\n
base_category_list = resource.getVariationBaseCategoryList()\n base_category_list = resource.getVariationBaseCategoryList(omit_option_base_category=1)\n
\n \n
for base_category in base_category_list:\n for base_category in base_category_list:\n
if matrixbox == 1:\n if matrixbox == 1:\n
...@@ -105,7 +105,7 @@ return cell_range\n ...@@ -105,7 +105,7 @@ return cell_range\n
</item> </item>
<item> <item>
<key> <string>_params</string> </key> <key> <string>_params</string> </key>
<value> <string>matrixbox=0, **kw</string> </value> <value> <string>matrixbox=0, base_id=\'movement\',**kw</string> </value>
</item> </item>
<item> <item>
<key> <string>errors</string> </key> <key> <string>errors</string> </key>
...@@ -125,13 +125,14 @@ return cell_range\n ...@@ -125,13 +125,14 @@ return cell_range\n
<dictionary> <dictionary>
<item> <item>
<key> <string>co_argcount</string> </key> <key> <string>co_argcount</string> </key>
<value> <int>1</int> </value> <value> <int>2</int> </value>
</item> </item>
<item> <item>
<key> <string>co_varnames</string> </key> <key> <string>co_varnames</string> </key>
<value> <value>
<tuple> <tuple>
<string>matrixbox</string> <string>matrixbox</string>
<string>base_id</string>
<string>kw</string> <string>kw</string>
<string>_getattr_</string> <string>_getattr_</string>
<string>context</string> <string>context</string>
...@@ -156,6 +157,7 @@ return cell_range\n ...@@ -156,6 +157,7 @@ return cell_range\n
<value> <value>
<tuple> <tuple>
<int>0</int> <int>0</int>
<string>movement</string>
</tuple> </tuple>
</value> </value>
</item> </item>
......
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