Commit 2d03065f authored by Łukasz Nowak's avatar Łukasz Nowak

- get and set new software instance's coordinates during creation

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@42554 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 2935e071
......@@ -88,13 +88,14 @@ if (request_software_instance is None):\n
else:\n
\n
setup_service_relative_url = portal.portal_preferences.getPreferredInstanceSetupResource()\n
\n
\n
software_instance = portal.getDefaultModule(portal_type=software_instance_portal_type).newContent(\n
portal_type=software_instance_portal_type,\n
source_reference=software_type,\n
title=requested_partition_reference,\n
text_content=instance_xml,\n
activate_kw={\'tag\': tag},\n
**portal.Base_getNewSoftwareInstanceCoordinate()\n
)\n
\n
subscription = portal.getDefaultModule(portal_type=hosting_subscription_portal_type).newContent(\n
......@@ -231,6 +232,7 @@ else:\n
<string>None</string>
<string>NotImplementedError</string>
<string>setup_service_relative_url</string>
<string>_apply_</string>
<string>software_instance</string>
<string>subscription</string>
<string>context</string>
......
311
\ No newline at end of file
325
\ 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