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

Fetch price from resource.

parent 4a39958d
...@@ -163,11 +163,11 @@ if (request_software_instance is None):\n ...@@ -163,11 +163,11 @@ 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=1,\n
price_currency="currency_module/EUR",\n price_currency="currency_module/EUR",\n
specialise=sale_order.getSpecialise(portal_type="Sale Trade Condition"),\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
destination=person_relative_url,\n destination=person_relative_url,\n
destination_section=person_relative_url,\n destination_section=person_relative_url,\n
source="organisation_module/vifib_internet",\n source="organisation_module/vifib_internet",\n
......
551 552
\ 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