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

Pass always indexation_timestamp.

parent abafc587
...@@ -69,12 +69,13 @@ remove_hosting_list = []\n ...@@ -69,12 +69,13 @@ remove_hosting_list = []\n
add_kw_list = []\n add_kw_list = []\n
start_date_tuple_list = []\n start_date_tuple_list = []\n
\n \n
movement_kw = kw.copy()\n
movement_kw[\'movement.destination_uid\': person_uid]\n
for cleanup_line in catalog(\n for cleanup_line in catalog(\n
portal_type=\'Sale Packing List Line\',\n portal_type=\'Sale Packing List Line\',\n
default_resource_uid=cleanup_resource_uid,\n default_resource_uid=cleanup_resource_uid,\n
simulation_state=\'delivered\',\n simulation_state=\'delivered\',\n
**{\'movement.destination_uid\': person_uid}):\n **movement_kw):\n
# **kw):\n
remove_hosting_list.append(cleanup_line.getAggregate(portal_type=\'Hosting Subscription\'))\n remove_hosting_list.append(cleanup_line.getAggregate(portal_type=\'Hosting Subscription\'))\n
\n \n
subscription_service_relative_url=portal.portal_preferences.getPreferredInstanceSubscriptionResource()\n subscription_service_relative_url=portal.portal_preferences.getPreferredInstanceSubscriptionResource()\n
...@@ -111,8 +112,7 @@ for setup_line in catalog(\n ...@@ -111,8 +112,7 @@ for setup_line in catalog(\n
portal_type=\'Sale Packing List Line\',\n portal_type=\'Sale Packing List Line\',\n
default_resource_uid=setup_resource_uid,\n default_resource_uid=setup_resource_uid,\n
simulation_state=[\'stopped\', \'delivered\'],\n simulation_state=[\'stopped\', \'delivered\'],\n
**{\'movement.destination_uid\': person_uid}\n **movement_kw):\n
):\n
# start date shall be stopped state reach\n # start date shall be stopped state reach\n
start_date = getWorkflowDate(setup_line.getParentValue(), \'stopped\')\n start_date = getWorkflowDate(setup_line.getParentValue(), \'stopped\')\n
start_date_tuple_list.append((setup_line.getAggregate(portal_type=\'Hosting Subscription\'), start_date))\n start_date_tuple_list.append((setup_line.getAggregate(portal_type=\'Hosting Subscription\'), start_date))\n
......
629 630
\ 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