Commit 7a742253 authored by Romain Courteaud's avatar Romain Courteaud

slapos_subscription_request: do not set the software release as variation on the Open Order

parent 69dc85f8
...@@ -36,7 +36,10 @@ if item.getPortalType() == 'Instance Tree': ...@@ -36,7 +36,10 @@ if item.getPortalType() == 'Instance Tree':
source_decision_value = item.getDestinationSectionValue(portal_type="Person") source_decision_value = item.getDestinationSectionValue(portal_type="Person")
if service is not None: if service is not None:
resource_vcl = [ resource_vcl = [
'software_release/%s' % software_release.getRelativeUrl(), # Do not set the software release as variation
# as the Instance Tree will be updated frequently
# which will make Order/Invoice outdated/wrong
#'software_release/%s' % software_release.getRelativeUrl(),
'software_type/%s' % software_type.getRelativeUrl() 'software_type/%s' % software_type.getRelativeUrl()
] ]
resource_vcl.sort() resource_vcl.sort()
......
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