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

nobody at svn.erp5.org nobody at svn.erp5.org
Tue May 12 13:20:41 CEST 2009


Author: jerome
Date: Tue May 12 13:20:39 2009
New Revision: 26922

URL: http://svn.erp5.org?rev=26922&view=rev
Log:
stop using getPortalDefaultGapRoot

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=26922&r1=26921&r2=26922&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] Tue May 12 13:20:39 2009
@@ -78,9 +78,9 @@
   ctool = context.getPortalObject().portal_categories\n
   if only_preferred_gap:\n
     gap_root = context.getPortalObject().portal_preferences\\\n
-                    .getPreferredAccountingTransactionGap() or\\\n
-                               context.getPortalDefaultGapRoot()\n
-    return ctool.resolveCategory(gap_root).getCategoryChildItemList(\n
+                    .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
 \n
   result = []  \n

Modified: erp5/trunk/bt5/erp5_accounting/bt/revision
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_accounting/bt/revision?rev=26922&r1=26921&r2=26922&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_accounting/bt/revision [utf8] (original)
+++ erp5/trunk/bt5/erp5_accounting/bt/revision [utf8] Tue May 12 13:20:39 2009
@@ -1,1 +1,1 @@
-920
+921




More information about the Erp5-report mailing list