Commit 82562fee authored by Romain Courteaud's avatar Romain Courteaud

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

parent cc23fdf2
......@@ -36,7 +36,10 @@ if item.getPortalType() == 'Instance Tree':
source_decision_value = item.getDestinationSectionValue(portal_type="Person")
if service is not None:
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()
]
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