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

Set decision too.

parent ef4dc8ee
......@@ -170,11 +170,11 @@ if (request_software_instance is None):\n
price=context.restrictedTraverse(subscription_service_relative_url).getSaleSupplyLineBasePrice(),\n
destination=person_relative_url,\n
destination_section=person_relative_url,\n
destination_decision=person_relative_url,\n
source="organisation_module/vifib_internet",\n
source_section="organisation_module/vifib_internet",\n
activate_kw={\'tag\': tag},\n
)\n
\n
hosting_subscription_predecessor_list = hosting_subscription.getPredecessorList()\n
hosting_subscription_predecessor_list.append(request_software_instance.getRelativeUrl())\n
hosting_subscription.edit(predecessor_list=hosting_subscription_predecessor_list)\n
......
......@@ -74,6 +74,7 @@ if invoice_line is None:\n
source_section=\'organisation_module/vifib_internet\',\n
source=\'organisation_module/vifib_internet\',\n
destination_section=person.getRelativeUrl(),\n
destination_decision=person.getRelativeUrl(),\n
destination=person.getRelativeUrl(),\n
specialise=\'sale_trade_condition_module/vifib_trade_condition\',\n
created_by_builder=1, # XXX to prevent init script to create lines\n
......
576
\ No newline at end of file
577
\ 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