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

explain the purpose of this hardcoded "+30"

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@18808 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent a8535f83
...@@ -70,7 +70,8 @@ ...@@ -70,7 +70,8 @@
kw[\'parent_specialise_portal_type\'] = \'Payment Rule\'\n kw[\'parent_specialise_portal_type\'] = \'Payment Rule\'\n
kw[\'portal_type\'] = \'Simulation Movement\'\n kw[\'portal_type\'] = \'Simulation Movement\'\n
kw.update(context.portal_catalog.buildSQLQuery(**kw))\n kw.update(context.portal_catalog.buildSQLQuery(**kw))\n
kw[\'max_movement_date\'] = DateTime() + 30\n kw[\'max_movement_date\'] = DateTime() + 30 # XXX this is an arbitrary value for experimentation\n
# this could be an alarm configuration.\n
\n \n
LOG("SQL used = %s"%context.PaymentTransaction_zSelectMovement(src__=1, **kw))\n LOG("SQL used = %s"%context.PaymentTransaction_zSelectMovement(src__=1, **kw))\n
movement_list = [x.getObject() for x in context.PaymentTransaction_zSelectMovement(**kw)]\n movement_list = [x.getObject() for x in context.PaymentTransaction_zSelectMovement(**kw)]\n
......
549 550
\ No newline at end of file \ 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