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

nobody at svn.erp5.org nobody at svn.erp5.org
Wed Apr 15 15:24:31 CEST 2009


Author: jerome
Date: Wed Apr 15 15:24:31 2009
New Revision: 26439

URL: http://svn.erp5.org?rev=26439&view=rev
Log:
don't show all accounts if none matches the selected gap

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

Modified: erp5/trunk/bt5/erp5_accounting/SkinTemplateItem/portal_skins/erp5_accounting/AccountModule_getTrialBalanceReportSectionList.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_accounting/SkinTemplateItem/portal_skins/erp5_accounting/AccountModule_getTrialBalanceReportSectionList.xml?rev=26439&r1=26438&r2=26439&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_accounting/SkinTemplateItem/portal_skins/erp5_accounting/AccountModule_getTrialBalanceReportSectionList.xml [utf8] (original)
+++ erp5/trunk/bt5/erp5_accounting/SkinTemplateItem/portal_skins/erp5_accounting/AccountModule_getTrialBalanceReportSectionList.xml [utf8] Wed Apr 15 15:24:31 2009
@@ -91,7 +91,7 @@
 if gap:\n
   gap_value = portal.portal_categories.gap.restrictedTraverse(gap)\n
   node_uid = [x.uid for x in gap_value.getCategoryMemberValueList(\n
-                portal_type=\'Account\')]\n
+                portal_type=\'Account\')] or -1\n
 \n
 request.set(\'is_accounting_report\', True)\n
 \n

Modified: erp5/trunk/bt5/erp5_accounting/bt/revision
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_accounting/bt/revision?rev=26439&r1=26438&r2=26439&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_accounting/bt/revision [utf8] (original)
+++ erp5/trunk/bt5/erp5_accounting/bt/revision [utf8] Wed Apr 15 15:24:31 2009
@@ -1,1 +1,1 @@
-895
+896




More information about the Erp5-report mailing list