Commit 5e425580 authored by Rafael Monnerat's avatar Rafael Monnerat

slapos_subscription_request: Published Trial Conditions are also valid for been requested

parent 5e4851c2
......@@ -6,7 +6,7 @@ if REQUEST is not None:
portal = context.getPortalObject()
if context.getValidationState() != "validated":
if context.getValidationState() not in ["validated", "published"]:
raise ValueError("This Trial Condition isn't validated.")
trial_configuration = {
......
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