Commit 6e4ff0a5 authored by Romain Courteaud's avatar Romain Courteaud

slapos_subscription_request: Subscription COndition uses follow_up to link to the Project

parent f4c3d155
......@@ -3,7 +3,7 @@
<item>InstanceTree</item>
<item>Price</item>
<item>SlapOSSubscriptionCondition</item>
<item>SlapOSVirtualMasterSourceProjectConstraint</item>
<item>SlapOSVirtualMasterConstraint</item>
<item>SoftwareInstance</item>
<item>TextDocument</item>
<item>Url</item>
......
......@@ -255,7 +255,7 @@ return dict(vads_url_already_registered="%s/already_registered" % (payment_trans
text_content='<?xml version="1.0" encoding="utf-8"?>\n<instance>\n</instance>',
user_input={},
specialise_value=sale_trade_condition,
source_project_value=self.subscription_project
follow_up_value=self.subscription_project
)
subscription_condition.validate()
self.tic()
......@@ -300,7 +300,7 @@ return dict(vads_url_already_registered="%s/already_registered" % (payment_trans
text_content='<?xml version="1.0" encoding="utf-8"?>\n<instance>\n</instance>',
user_input={},
specialise_value=sale_trade_condition,
source_project_value=self.subscription_project
follow_up_value=self.subscription_project
)
self.subscription_condition.validate()
self.tic()
......
Subscription Condition | InstanceTree
Subscription Condition | Price
Subscription Condition | SlapOSSubscriptionCondition
Subscription Condition | SlapOSVirtualMasterSourceProjectConstraint
Subscription Condition | SlapOSVirtualMasterConstraint
Subscription Condition | SoftwareInstance
Subscription Condition | TextDocument
Subscription Condition | Url
......
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