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 @@
resource = context.getResourceValue()\n
cell_range = []\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
for base_category in base_category_list:\n
if matrixbox == 1:\n
......@@ -105,7 +105,7 @@ return cell_range\n
</item>
<item>
<key> <string>_params</string> </key>
<value> <string>matrixbox=0, **kw</string> </value>
<value> <string>matrixbox=0, base_id=\'movement\',**kw</string> </value>
</item>
<item>
<key> <string>errors</string> </key>
......@@ -125,13 +125,14 @@ return cell_range\n
<dictionary>
<item>
<key> <string>co_argcount</string> </key>
<value> <int>1</int> </value>
<value> <int>2</int> </value>
</item>
<item>
<key> <string>co_varnames</string> </key>
<value>
<tuple>
<string>matrixbox</string>
<string>base_id</string>
<string>kw</string>
<string>_getattr_</string>
<string>context</string>
......@@ -156,6 +157,7 @@ return cell_range\n
<value>
<tuple>
<int>0</int>
<string>movement</string>
</tuple>
</value>
</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