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

nobody at svn.erp5.org nobody at svn.erp5.org
Thu Mar 3 16:08:25 CET 2011


Author: jerome
Date: Thu Mar  3 16:08:24 2011
New Revision: 43944

URL: http://svn.erp5.org?rev=43944&view=rev
Log:
"Balance" colum from Transaction tab on accounts was showing a wrong value on stat for accounts having a debit initial balance

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

Modified: erp5/trunk/bt5/erp5_accounting/SkinTemplateItem/portal_skins/erp5_accounting/Node_statAccountingBalance.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_accounting/SkinTemplateItem/portal_skins/erp5_accounting/Node_statAccountingBalance.xml?rev=43944&r1=43943&r2=43944&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_accounting/SkinTemplateItem/portal_skins/erp5_accounting/Node_statAccountingBalance.xml [utf8] (original)
+++ erp5/trunk/bt5/erp5_accounting/SkinTemplateItem/portal_skins/erp5_accounting/Node_statAccountingBalance.xml [utf8] Thu Mar  3 16:08:24 2011
@@ -153,7 +153,7 @@ if params.get(\'period_start_date\', 0) 
     return getInventoryAssetPrice(\n
            from_date=period_start_date,\n
            at_date=at_date,\n
-           **params) - max(-period_openning_balance, 0)\n
+           **params) + period_openning_balance\n
 \n
 return getInventoryAssetPrice(\n
               omit_asset_increase=omit_asset_increase,\n

Modified: erp5/trunk/bt5/erp5_accounting/bt/revision
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_accounting/bt/revision?rev=43944&r1=43943&r2=43944&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_accounting/bt/revision [utf8] (original)
+++ erp5/trunk/bt5/erp5_accounting/bt/revision [utf8] Thu Mar  3 16:08:24 2011
@@ -1 +1 @@
-1455
\ No newline at end of file
+1456
\ No newline at end of file



More information about the Erp5-report mailing list