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