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

nobody at svn.erp5.org nobody at svn.erp5.org
Tue Jan 19 11:42:57 CET 2010


Author: jerome
Date: Tue Jan 19 11:42:55 2010
New Revision: 31815

URL: http://svn.erp5.org?rev=31815&view=rev
Log:
use latestTime() to handle properly transaction at from_date -1

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

Modified: erp5/trunk/bt5/erp5_accounting/SkinTemplateItem/portal_skins/erp5_accounting/Account_getNotGroupedAccountingTransactionList.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_accounting/SkinTemplateItem/portal_skins/erp5_accounting/Account_getNotGroupedAccountingTransactionList.xml?rev=31815&r1=31814&r2=31815&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_accounting/SkinTemplateItem/portal_skins/erp5_accounting/Account_getNotGroupedAccountingTransactionList.xml [utf8] (original)
+++ erp5/trunk/bt5/erp5_accounting/SkinTemplateItem/portal_skins/erp5_accounting/Account_getNotGroupedAccountingTransactionList.xml [utf8] Tue Jan 19 11:42:55 2010
@@ -78,7 +78,7 @@
 \n
 line_list = []\n
 for brain in portal.Base_zGetNotGroupedMovementList(\n
-                                at_date=from_date - 1, # this is not to_date\n
+                                at_date=(from_date - 1).latestTime(), # this is not to_date\n
                                 simulation_state=params[\'simulation_state\'],\n
                                 node_uid=[kw[\'node_uid\']],\n
                                 portal_type=portal.getPortalAccountingMovementTypeList(),\n

Modified: erp5/trunk/bt5/erp5_accounting/bt/revision
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_accounting/bt/revision?rev=31815&r1=31814&r2=31815&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_accounting/bt/revision [utf8] (original)
+++ erp5/trunk/bt5/erp5_accounting/bt/revision [utf8] Tue Jan 19 11:42:55 2010
@@ -1,1 +1,1 @@
-1084
+1085




More information about the Erp5-report mailing list