Commit 5807f4a3 authored by Romain Courteaud's avatar Romain Courteaud

slapos_crm: drop allocation_scope/open categories

parent 0da54d8a
......@@ -3,11 +3,7 @@ portal = context.getPortalObject()
from Products.ERP5Type.Document import newTempBase
public_category_uid = portal.restrictedTraverse(
"portal_categories/allocation_scope/open/public", None).getUid()
friend_category_uid = portal.restrictedTraverse(
"portal_categories/allocation_scope/open/friend", None).getUid()
"portal_categories/allocation_scope/open", None).getUid()
l = []
......@@ -21,7 +17,7 @@ def checkForError(reference):
return 1
for compute_node in portal.portal_catalog(
default_allocation_scope_uid = [public_category_uid, friend_category_uid],
default_allocation_scope_uid = [public_category_uid],
select_list={"reference": None},
**kw):
......
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