Commit 999f2c89 authored by Łukasz Nowak's avatar Łukasz Nowak

Reset date only when present.

parent 39d82497
...@@ -96,6 +96,7 @@ for start_date_tuple in start_date_tuple_list:\n ...@@ -96,6 +96,7 @@ for start_date_tuple in start_date_tuple_list:\n
line = previous_open_sale_order[line_id]\n line = previous_open_sale_order[line_id]\n
if line.getStartDate() is None:\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
else:\n
# reset start_date to possibly already set up on Open Order Line\n # reset start_date to possibly already set up on Open Order Line\n
start_date = line.getStartDate()\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
......
673 674
\ 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