[Erp5-report] r25329 - in /erp5/trunk/bt5/erp5_accounting: SkinTemplateItem/portal_skins/er...

nobody at svn.erp5.org nobody at svn.erp5.org
Wed Jan 28 13:52:26 CET 2009


Author: jerome
Date: Wed Jan 28 13:52:23 2009
New Revision: 25329

URL: http://svn.erp5.org?rev=25329&view=rev
Log:
remove this strange select_expression that was never used

Modified:
    erp5/trunk/bt5/erp5_accounting/SkinTemplateItem/portal_skins/erp5_accounting/AccountModule_getAccountList.xml
    erp5/trunk/bt5/erp5_accounting/bt/revision

Modified: erp5/trunk/bt5/erp5_accounting/SkinTemplateItem/portal_skins/erp5_accounting/AccountModule_getAccountList.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_accounting/SkinTemplateItem/portal_skins/erp5_accounting/AccountModule_getAccountList.xml?rev=25329&r1=25328&r2=25329&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_accounting/SkinTemplateItem/portal_skins/erp5_accounting/AccountModule_getAccountList.xml [utf8] (original)
+++ erp5/trunk/bt5/erp5_accounting/SkinTemplateItem/portal_skins/erp5_accounting/AccountModule_getAccountList.xml [utf8] Wed Jan 28 13:52:23 2009
@@ -53,21 +53,7 @@
         </item>
         <item>
             <key> <string>_body</string> </key>
-            <value> <string encoding="cdata"><![CDATA[
-
-try:\n
-  # XXX not used !\n
-  currency = kwd[\'accounting_transaction_line_currency\']\n
-  id = currency.split(\'/\')[-1]\n
-except KeyError:\n
-  id = \'\'\n
-\n
-if not id:\n
-  id = \'&nbsp;\'\n
-\n
-kwd[\'select_expression\'] = "\'%s\' AS accounting_transaction_line_currency" % id\n
-\n
-# precision for editable fields\n
+            <value> <string># precision for editable fields\n
 params = context.ERP5Accounting_getParams(selection_name)\n
 if params.get(\'precision\', None) is not None:\n
   context.REQUEST.set(\'precision\', params[\'precision\'])\n
@@ -84,9 +70,7 @@
       new_sort_on.append(sort_on_item)\n
 \n
 return context.portal_catalog(sort_on=new_sort_on, **kwd)\n
-
-
-]]></string> </value>
+</string> </value>
         </item>
         <item>
             <key> <string>_code</string> </key>
@@ -126,15 +110,11 @@
                             <string>selection</string>
                             <string>selection_name</string>
                             <string>kwd</string>
-                            <string>_getitem_</string>
-                            <string>currency</string>
                             <string>_getattr_</string>
-                            <string>id</string>
-                            <string>KeyError</string>
-                            <string>_write_</string>
                             <string>context</string>
                             <string>params</string>
                             <string>None</string>
+                            <string>_getitem_</string>
                             <string>new_sort_on</string>
                             <string>_getiter_</string>
                             <string>sort_on_item</string>

Modified: erp5/trunk/bt5/erp5_accounting/bt/revision
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_accounting/bt/revision?rev=25329&r1=25328&r2=25329&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_accounting/bt/revision [utf8] (original)
+++ erp5/trunk/bt5/erp5_accounting/bt/revision [utf8] Wed Jan 28 13:52:23 2009
@@ -1,1 +1,1 @@
-846
+847




More information about the Erp5-report mailing list