Commit 8e77e9e1 authored by Łukasz Nowak's avatar Łukasz Nowak

Merge remote-tracking branch 'origin/master' into software-cleanup

parents c1f37926 39d82497
...@@ -94,8 +94,10 @@ for start_date_tuple in start_date_tuple_list:\n ...@@ -94,8 +94,10 @@ for start_date_tuple in start_date_tuple_list:\n
if start_date_tuple[0] in hosting_subscription_mapping:\n if start_date_tuple[0] in hosting_subscription_mapping:\n
line_id = hosting_subscription_mapping[start_date_tuple[0]]\n line_id = hosting_subscription_mapping[start_date_tuple[0]]\n
line = previous_open_sale_order[line_id]\n line = previous_open_sale_order[line_id]\n
if line.getStartDate() != start_date:\n if line.getStartDate() is None:\n
modify_kw_kw[line.getAggregate(portal_type=\'Hosting Subscription\')] = {\'start_date\': start_date}\n modify_kw_kw[line.getAggregate(portal_type=\'Hosting Subscription\')] = {\'start_date\': start_date}\n
# reset start_date to possibly already set up on Open Order Line\n
start_date = line.getStartDate()\n
elif start_date_tuple[0] in add_kw_kw:\n elif start_date_tuple[0] in add_kw_kw:\n
add_kw_kw[start_date_tuple[0]][\'start_date\'] = start_date\n add_kw_kw[start_date_tuple[0]][\'start_date\'] = start_date\n
hs = portal.restrictedTraverse(start_date_tuple[0])\n hs = portal.restrictedTraverse(start_date_tuple[0])\n
......
672 673
\ 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