Commit 842b0380 authored by Łukasz Nowak's avatar Łukasz Nowak

Reuse values from Open Sale Order.

parent 07e6c7d2
...@@ -163,16 +163,9 @@ if (request_software_instance is None):\n ...@@ -163,16 +163,9 @@ if (request_software_instance is None):\n
stop_date=stop_date,\n stop_date=stop_date,\n
quantity=1,\n quantity=1,\n
quantity_unit="unit/piece",\n quantity_unit="unit/piece",\n
price_currency="currency_module/EUR",\n
specialise=sale_order.getSpecialise(portal_type="Sale Trade Condition"),\n
# XXX Hardcoded values\\n\n # XXX Hardcoded values\\n\n
resource=subscription_service_relative_url,\n resource=subscription_service_relative_url,\n
price=context.restrictedTraverse(subscription_service_relative_url).getSaleSupplyLineBasePrice(),\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 activate_kw={\'tag\': tag},\n
)\n )\n
hosting_subscription_predecessor_list = hosting_subscription.getPredecessorList()\n hosting_subscription_predecessor_list = hosting_subscription.getPredecessorList()\n
......
579 580
\ 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