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

nobody at svn.erp5.org nobody at svn.erp5.org
Fri Mar 31 18:57:14 CEST 2006


Author: kevin
Date: Fri Mar 31 18:57:13 2006
New Revision: 6420

URL: http://svn.erp5.org?rev=6420&view=rev
Log:
Use kw as the unique entry parameter.

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

Modified: erp5/trunk/bt5/erp5_accounting/SkinTemplateItem/portal_skins/erp5_accounting/Entity_getAccountingTransactionList.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_accounting/SkinTemplateItem/portal_skins/erp5_accounting/Entity_getAccountingTransactionList.xml?rev=6420&r1=6419&r2=6420&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_accounting/SkinTemplateItem/portal_skins/erp5_accounting/Entity_getAccountingTransactionList.xml (original)
+++ erp5/trunk/bt5/erp5_accounting/SkinTemplateItem/portal_skins/erp5_accounting/Entity_getAccountingTransactionList.xml Fri Mar 31 18:57:13 2006
@@ -68,6 +68,8 @@
             <key> <string>_body</string> </key>
             <value> <string encoding="cdata"><![CDATA[
 
+src__ = 0\n
+if kw.has_key(\'src__\'): src__ = kw[\'src__\']\n
 precision = context.Base_getPreferredPrecision()\n
 r_ = lambda x: context.Base_getRoundValue(x, precision)\n
 \n
@@ -195,7 +197,7 @@
         </item>
         <item>
             <key> <string>_params</string> </key>
-            <value> <string>selection, src__=0, **kw</string> </value>
+            <value> <string>**kw</string> </value>
         </item>
         <item>
             <key> <string>errors</string> </key>
@@ -215,16 +217,16 @@
                   <dictionary>
                     <item>
                         <key> <string>co_argcount</string> </key>
-                        <value> <int>2</int> </value>
+                        <value> <int>0</int> </value>
                     </item>
                     <item>
                         <key> <string>co_varnames</string> </key>
                         <value>
                           <tuple>
-                            <string>selection</string>
+                            <string>kw</string>
                             <string>src__</string>
-                            <string>kw</string>
                             <string>_getattr_</string>
+                            <string>_getitem_</string>
                             <string>context</string>
                             <string>precision</string>
                             <string>r_</string>
@@ -236,7 +238,6 @@
                             <string>params</string>
                             <string>None</string>
                             <string>_write_</string>
-                            <string>_getitem_</string>
                             <string>new_result</string>
                             <string>net_balance</string>
                             <string>get_inventory_kw</string>
@@ -263,9 +264,7 @@
         <item>
             <key> <string>func_defaults</string> </key>
             <value>
-              <tuple>
-                <int>0</int>
-              </tuple>
+              <none/>
             </value>
         </item>
         <item>




More information about the Erp5-report mailing list