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

nobody at svn.erp5.org nobody at svn.erp5.org
Fri Apr 14 23:10:01 CEST 2006


Author: kevin
Date: Fri Apr 14 23:09:59 2006
New Revision: 6701

URL: http://svn.erp5.org?rev=6701&view=rev
Log:
Remove previous hack by a less intrusive one.

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

Modified: erp5/trunk/bt5/erp5_accounting/SkinTemplateItem/portal_skins/erp5_accounting/AccountModule_getOtherPartiesReportSectionList.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_accounting/SkinTemplateItem/portal_skins/erp5_accounting/AccountModule_getOtherPartiesReportSectionList.xml?rev=6701&r1=6700&r2=6701&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_accounting/SkinTemplateItem/portal_skins/erp5_accounting/AccountModule_getOtherPartiesReportSectionList.xml (original)
+++ erp5/trunk/bt5/erp5_accounting/SkinTemplateItem/portal_skins/erp5_accounting/AccountModule_getOtherPartiesReportSectionList.xml Fri Apr 14 23:09:59 2006
@@ -69,8 +69,7 @@
             <value> <string encoding="cdata"><![CDATA[
 
 """\n
-Client & vendors accounts.\n
-\n
+  Client & vendors accounts.\n
 """\n
 \n
 from Products.ERP5Form.Report import ReportSection\n
@@ -90,13 +89,13 @@
 result = []\n
 \n
 params =  {\n
-            \'at_date\'   : at_date,\n
-            \'transaction_section_category\' : transaction_section_category,\n
-            \'section_category\' : transaction_section_category,\n
-            \'simulation_state\' :  transaction_simulation_state,\n
-            \'report_depth\' : 5,\n
-            \'section_portal_type_list\': [\'Organisation\']\n
-          }\n
+    \'at_date\'                     : at_date\n
+  , \'transaction_section_category\': transaction_section_category\n
+  , \'section_category\'            : transaction_section_category\n
+  , \'simulation_state\'            : transaction_simulation_state\n
+  , \'report_depth\'                : 5\n
+  , \'where_expression\'            : " section.portal_type = \'Organisation\' "\n
+}\n
 \n
 params[\'hide_grouping\'] = request[\'omit_grouped_references\']\n
 if from_date:\n




More information about the Erp5-report mailing list