[Erp5-report] r6391 - /erp5/trunk/bt5/erp5_accounting/SkinTemplateItem/portal_skins/erp5_ac...

nobody at svn.erp5.org nobody at svn.erp5.org
Fri Mar 31 01:55:33 CEST 2006


Author: kevin
Date: Fri Mar 31 01:55:28 2006
New Revision: 6391

URL: http://svn.erp5.org?rev=6391&view=rev
Log:
Alex: modified InvoiceLine_asCellRange to support options

Modified:
    erp5/trunk/bt5/erp5_accounting/SkinTemplateItem/portal_skins/erp5_accounting/InvoiceLine_asCellRange.xml

Modified: erp5/trunk/bt5/erp5_accounting/SkinTemplateItem/portal_skins/erp5_accounting/InvoiceLine_asCellRange.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_accounting/SkinTemplateItem/portal_skins/erp5_accounting/InvoiceLine_asCellRange.xml?rev=6391&r1=6390&r2=6391&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_accounting/SkinTemplateItem/portal_skins/erp5_accounting/InvoiceLine_asCellRange.xml (original)
+++ erp5/trunk/bt5/erp5_accounting/SkinTemplateItem/portal_skins/erp5_accounting/InvoiceLine_asCellRange.xml Fri Mar 31 01:55:28 2006
@@ -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 @@
         </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 @@
                   <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 @@
             <value>
               <tuple>
                 <int>0</int>
+                <string>movement</string>
               </tuple>
             </value>
         </item>




More information about the Erp5-report mailing list