Commit 6f5e49c5 authored by Romain Courteaud's avatar Romain Courteaud

slapos_cloud: only allocate on allocation_scope/open

parent 77f005ca
...@@ -9,7 +9,7 @@ compute_partition = None ...@@ -9,7 +9,7 @@ compute_partition = None
filter_kw_copy = filter_kw.copy() filter_kw_copy = filter_kw.copy()
query_kw = { query_kw = {
'parent__follow_up__uid': project_uid, 'parent__follow_up__uid': project_uid,
'allocation_scope__uid': portal.restrictedTraverse("portal_categories/allocation_scope").getUid(), 'allocation_scope__uid': portal.restrictedTraverse("portal_categories/allocation_scope/open").getUid(),
'software_release_url': software_release_url, 'software_release_url': software_release_url,
'portal_type': 'Compute Partition', 'portal_type': 'Compute Partition',
} }
......
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