Commit 035f2a77 authored by Rafael Monnerat's avatar Rafael Monnerat

slapos_cloud: Ignore more types on afterClone

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