Commit bd6806b9 authored by Jérome Perrin's avatar Jérome Perrin

"Balance" colum from Transaction tab on accounts was showing a wrong value on...

"Balance" colum from Transaction tab on accounts was showing a wrong value on stat for accounts having a debit initial balance

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@43944 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent be090e0e
......@@ -153,7 +153,7 @@ if params.get(\'period_start_date\', 0) and params.get(\'node_uid\'):\n
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
......
1455
\ No newline at end of file
1456
\ No newline at end of file
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment