Commit 4f7f8cbe authored by Rafael Monnerat's avatar Rafael Monnerat

slapos_panel: Only re-validate support requests

parent fc0d6136
Pipeline #38149 failed with stage
in 0 seconds
......@@ -28,9 +28,10 @@ event = ticket.Ticket_createProjectEvent(
source=person_relative_url
)
try:
if ticket.getPortalType() == 'Support Request':
try:
ticket.validate()
except (AttributeError, UnsupportedWorkflowMethod):
except (AttributeError, UnsupportedWorkflowMethod):
pass
if batch:
......
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