Commit fe36320d authored by Łukasz Nowak's avatar Łukasz Nowak

Fetch more in one transaction.

Also make activity per person.
parent 3824162e
...@@ -53,7 +53,8 @@ ...@@ -53,7 +53,8 @@
<value> <string>portal = context.getPortalObject()\n <value> <string>portal = context.getPortalObject()\n
portal.portal_catalog.searchAndActivate(\n portal.portal_catalog.searchAndActivate(\n
portal_type=\'Person\',\n portal_type=\'Person\',\n
method_id=\'Person_buildAndPlanInvoice\'\n method_id=\'Person_buildAndPlanInvoice\',\n
packet_size=1\n
)\n )\n
</string> </value> </string> </value>
</item> </item>
......
...@@ -60,7 +60,7 @@ kw.update(\n ...@@ -60,7 +60,7 @@ kw.update(\n
portal_type=\'Simulation Movement\',\n portal_type=\'Simulation Movement\',\n
sort_on=((\'uid\', \'ASC\'),),\n sort_on=((\'uid\', \'ASC\'),),\n
uid=\'>= %s\' % uid,\n uid=\'>= %s\' % uid,\n
limit=69,\n limit=1000,\n
select_dict=select_dict,\n select_dict=select_dict,\n
left_join_list=select_dict.keys(),\n left_join_list=select_dict.keys(),\n
delivery_uid=None,\n delivery_uid=None,\n
......
55 56
\ 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