Commit ace1a680 authored by Romain Courteaud's avatar Romain Courteaud

slapos_subscription_request: Subscription COndition uses follow_up to link to the Project

parent 7c9787d8
......@@ -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>
......@@ -22,4 +22,4 @@
<item>Url</item>
<item>VariationRange</item>
</portal_type>
</property_sheet_list>
</property_sheet_list>
\ No newline at end of file
......@@ -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
......@@ -16,4 +16,4 @@ Subscription Request | SlapOSVirtualMasterSourceProjectConstraint
Subscription Request | SlaposSubscriptionRequestAuditConstraint
Subscription Request | Task
Subscription Request | Url
Subscription Request | VariationRange
Subscription Request | VariationRange
\ No newline at end of file
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