Commit de457107 authored by Romain Courteaud's avatar Romain Courteaud

slapos_cloud: disable acquisition when search for allocation supply cells

Do not acquire from Person to an Organisation, as most user do not have access to the organisation_module
parent d8ef2a67
......@@ -41,5 +41,6 @@ if node_value is not None:
return [x.getObject() for x in domain_tool.searchPredicateList(
tmp_context,
portal_type=predicate_portal_type,
acquired=0,
tested_base_category_list=tested_base_category_list
) if ((node_value is None) or (node_relative_url in x.getParentValue().getParentValue().getAggregateList()))]
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