Commit 07c31f3d authored by Romain Courteaud's avatar Romain Courteaud

slapos_panel: set title on Assignment

parent 46961394
...@@ -43,12 +43,14 @@ if ((specialise_value is None) or ...@@ -43,12 +43,14 @@ if ((specialise_value is None) or
# who can manage compute nodes and create instances # who can manage compute nodes and create instances
customer.newContent( customer.newContent(
portal_type='Assignment', portal_type='Assignment',
title="Manager for %s" % project.getReference(),
destination_project_value=project, destination_project_value=project,
function='production/manager', function='production/manager',
activate_kw=activate_kw activate_kw=activate_kw
).open() ).open()
customer.newContent( customer.newContent(
portal_type='Assignment', portal_type='Assignment',
title="Client for %s" % project.getReference(),
destination_project_value=project, destination_project_value=project,
function='customer', function='customer',
activate_kw=activate_kw activate_kw=activate_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