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

nobody at svn.erp5.org nobody at svn.erp5.org
Wed Sep 13 18:24:10 CEST 2006


Author: jerome
Date: Wed Sep 13 18:24:08 2006
New Revision: 9892

URL: http://svn.erp5.org?rev=9892&view=rev
Log:
at_last parameter uses latestTime so that we get all transaction for that day.


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

Modified: erp5/trunk/bt5/erp5_accounting/SkinTemplateItem/portal_skins/erp5_accounting/ERP5Accounting_getParams.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_accounting/SkinTemplateItem/portal_skins/erp5_accounting/ERP5Accounting_getParams.xml?rev=9892&r1=9891&r2=9892&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_accounting/SkinTemplateItem/portal_skins/erp5_accounting/ERP5Accounting_getParams.xml (original)
+++ erp5/trunk/bt5/erp5_accounting/SkinTemplateItem/portal_skins/erp5_accounting/ERP5Accounting_getParams.xml Wed Sep 13 18:24:08 2006
@@ -99,17 +99,17 @@
   if from_date :\n
     params[\'from_date\'] = from_date\n
 \n
-at_date = params.get(\'at_date\',\n
+at_date = selection_params.get(\'at_date\',\n
               preference.getPreferredAccountingTransactionAtDate())\n
 if at_date:\n
-  params[\'at_date\'] = at_date\n
-\n
-section_category = params.get(\'section_category\',\n
+  params[\'at_date\'] = at_date.latestTime()\n
+\n
+section_category = selection_params.get(\'section_category\',\n
                  preference.getPreferredAccountingTransactionSectionCategory())\n
 if section_category:\n
   params[\'section_category\'] = section_category\n
 \n
-simulation_state = params.get(\'simulation_state\',\n
+simulation_state = selection_params.get(\'simulation_state\',\n
              preference.getPreferredAccountingTransactionSimulationStateList())\n
 if simulation_state:\n
   params[\'simulation_state\'] = simulation_state\n
@@ -163,7 +163,7 @@
                             <string>wants_from_date</string>
                             <string>ignore_cache</string>
                             <string>_getattr_</string>
-<string>context</string>
+                            <string>context</string>
                             <string>None</string>
                             <string>params_cache</string>
                             <string>dict</string>




More information about the Erp5-report mailing list