Commit 035f2a77 by Rafael Monnerat

slapos_cloud: Ignore more types on afterClone

1 parent 4fc46f86
......@@ -4,7 +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() == "Slave Instance":
if context.getPortalType() in ["Slave Instance", "Trial Request", "Trial Condition"]:
return
context.setUserId(None)
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!