Commit 347bdc55 authored by Romain Courteaud's avatar Romain Courteaud

slapos_panel: configure trade_condition_type on the Sale Trade Condition

parent 9040ad69
......@@ -50,6 +50,7 @@ else:
sale_trade_condition = portal.sale_trade_condition_module.newContent(
portal_type="Sale Trade Condition",
reference=title,
trade_condition_type="compute_node",
specialise_value=specialise_value,
destination_project_value=project,
source_value=subscription_request.getDestinationValue(),
......@@ -69,6 +70,7 @@ else:
sale_trade_condition = portal.sale_trade_condition_module.newContent(
portal_type="Sale Trade Condition",
reference=title,
trade_condition_type="instance_tree",
specialise_value=specialise_value,
source_project_value=project,
source_value=subscription_request.getDestinationValue(),
......
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