Commit 638fdd70 authored by Romain Courteaud's avatar Romain Courteaud

slapos_panel: admin do not have access to customer person

Only show what admin can allocate for now.
parent d4f1cbd7
portal = context.getPortalObject() portal = context.getPortalObject()
instance = context instance = context
project = instance.getFollowUpValue() project = instance.getFollowUpValue()
instance_tree = instance.getSpecialiseValue() # instance_tree = instance.getSpecialiseValue()
#customer_person = instance_tree.getDestinationSectionValue() # customer_person = instance_tree.getDestinationSectionValue()
node_list = [] node_list = []
...@@ -22,7 +22,7 @@ allocation_cell_list = project.Project_getSoftwareProductPredicateList( ...@@ -22,7 +22,7 @@ allocation_cell_list = project.Project_getSoftwareProductPredicateList(
software_product=software_product, software_product=software_product,
software_product_type=type_variation, software_product_type=type_variation,
software_product_release=release_variation, software_product_release=release_variation,
#destination_value=customer_person, # destination_value=customer_person,
predicate_portal_type='Allocation Supply Cell' predicate_portal_type='Allocation Supply Cell'
) )
......
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