Commit 9a6c359b authored by Łukasz Nowak's avatar Łukasz Nowak

Synchronise defaults with requestSoftwareInstance

parent 3284ada5
...@@ -648,7 +648,10 @@ class SlapTool(BaseTool): ...@@ -648,7 +648,10 @@ class SlapTool(BaseTool):
requested_software_instance = person.portal_catalog.\ requested_software_instance = person.portal_catalog.\
getResultValue( getResultValue(
portal_type="Software Instance", portal_type="Software Instance",
source_reference=software_type, # In order be in sync with defaults of person.
# requestSoftwareInstance it is required to default here
# too
source_reference=software_type or 'RootSoftwareInstance',
title=partition_reference, title=partition_reference,
) )
......
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