Commit 16b96a84 authored by Romain Courteaud's avatar Romain Courteaud

slapos_cloud: drop Subscription Condition usage

parent fec282d2
......@@ -4,8 +4,7 @@ We want to reset reference, which is the user login in ERP5Security.
One exception is when a person object is installed from business template.
"""
# Slave Instance don't have user id to be set.
if context.getPortalType() in ["Slave Instance", "Trial Request", "Trial Condition",
"Subscription Condition"]:
if context.getPortalType() in ["Slave Instance", "Trial Request", "Trial Condition"]:
return
context.setUserId(None)
......
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