Commit 2f13e110 authored by Vincent Pelletier's avatar Vincent Pelletier

Verify check availability with "to_date", not with "at_date".

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@19688 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 96661049
......@@ -69,7 +69,7 @@
from Products.ERP5Type.Message import Message\n
\n
current_tracking_list = [x.getObject() for x in context.portal_simulation.getCurrentTrackingList(\n
at_date=at_date, node=node_url,\n
to_date=at_date, node=node_url,\n
where_expression="item_catalog.portal_type=\'Check\' or item_catalog.portal_type=\'Checkbook\'")]\n
aggregate_uid_list = [x.uid for x in current_tracking_list]\n
for line in context.getMovementList():\n
......
387
\ No newline at end of file
389
\ 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