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

use latestTime() to handle properly transaction at from_date -1

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@31815 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent f5fa45fb
......@@ -78,7 +78,7 @@ total_credit = 0\n
\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
......
1084
\ No newline at end of file
1085
\ 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