[Erp5-report] r35578 jerome - in /erp5/trunk/bt5/erp5_accounting: SkinTemplateItem/portal_s...

nobody at svn.erp5.org nobody at svn.erp5.org
Mon May 24 17:25:05 CEST 2010


Author: jerome
Date: Mon May 24 17:25:02 2010
New Revision: 35578

URL: http://svn.erp5.org?rev=35578&view=rev
Log:
use longer cache on Account_getGapItemList

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

Modified: erp5/trunk/bt5/erp5_accounting/SkinTemplateItem/portal_skins/erp5_accounting/Account_getGapItemList.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_accounting/SkinTemplateItem/portal_skins/erp5_accounting/Account_getGapItemList.xml?rev=35578&r1=35577&r2=35578&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_accounting/SkinTemplateItem/portal_skins/erp5_accounting/Account_getGapItemList.xml [utf8] (original)
+++ erp5/trunk/bt5/erp5_accounting/SkinTemplateItem/portal_skins/erp5_accounting/Account_getGapItemList.xml [utf8] Mon May 24 17:25:02 2010
@@ -77,17 +77,17 @@
                     .getPreferredAccountingTransactionGap()\n
     if gap_root:\n
       return ctool.resolveCategory(gap_root).getCategoryChildItemList(\n
-        base=0, is_self_excluded=1, display_method=display, sort_method=sort)\n
+        base=False, is_self_excluded=True, display_method=display, sort_method=sort)\n
 \n
   result = []  \n
   for country in ctool.gap.contentValues():\n
     for gap_root in country.contentValues():\n
       result.extend(gap_root.getCategoryChildItemList(\n
-        base=0, is_self_excluded=1, display_method=display, sort_method=sort))\n
+        base=False, is_self_excluded=True, display_method=display, sort_method=sort))\n
   return result\n
 \n
 from Products.ERP5Type.Cache import CachingMethod\n
-getGapItemList = CachingMethod(getGapItemList, id=\'Account_getGapItemList\')\n
+getGapItemList = CachingMethod(getGapItemList, id=\'Account_getGapItemList\', cache_factory=\'erp5_content_long\')\n
 return getGapItemList(only_preferred_gap=only_preferred_gap)\n
 </string> </value>
         </item>

Modified: erp5/trunk/bt5/erp5_accounting/bt/revision
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_accounting/bt/revision?rev=35578&r1=35577&r2=35578&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_accounting/bt/revision [utf8] (original)
+++ erp5/trunk/bt5/erp5_accounting/bt/revision [utf8] Mon May 24 17:25:02 2010
@@ -1,1 +1,1 @@
-1224
+1225




More information about the Erp5-report mailing list