Commit c3af0f16 authored by Romain Courteaud's avatar Romain Courteaud

slapos_panel: admin do not have access to customer person

Do not try to show results with customer account for now.
parent 2c7a3967
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.getDestinationSection() # 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