[Erp5-report] r7700 - /erp5/trunk/bt5/erp5_accounting/SkinTemplateItem/portal_skins/erp5_ac...
nobody at svn.erp5.org
nobody at svn.erp5.org
Mon Jun 12 16:02:12 CEST 2006
Author: kevin
Date: Mon Jun 12 16:02:09 2006
New Revision: 7700
URL: http://svn.erp5.org?rev=7700&view=rev
Log:
Fix bad math if from_date is None.
Modified:
erp5/trunk/bt5/erp5_accounting/SkinTemplateItem/portal_skins/erp5_accounting/Account_getAccountingTransactionList.xml
Modified: erp5/trunk/bt5/erp5_accounting/SkinTemplateItem/portal_skins/erp5_accounting/Account_getAccountingTransactionList.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_accounting/SkinTemplateItem/portal_skins/erp5_accounting/Account_getAccountingTransactionList.xml?rev=7700&r1=7699&r2=7700&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_accounting/SkinTemplateItem/portal_skins/erp5_accounting/Account_getAccountingTransactionList.xml (original)
+++ erp5/trunk/bt5/erp5_accounting/SkinTemplateItem/portal_skins/erp5_accounting/Account_getAccountingTransactionList.xml Mon Jun 12 16:02:09 2006
@@ -150,7 +150,7 @@
\n
previous_balance.edit( \\\n
title = context.Base_translateString("Previous Balance")\n
- , date = from_date - 1\n
+ , date = from_date and (from_date - 1) or None\n
, portal_type = ""\n
, simulation_state_title = ""\n
, debit = previous_total_debit\n
More information about the Erp5-report
mailing list