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

slapos_panel: Only re-validate support requests

parent fc0d6136
...@@ -28,10 +28,11 @@ event = ticket.Ticket_createProjectEvent( ...@@ -28,10 +28,11 @@ event = ticket.Ticket_createProjectEvent(
source=person_relative_url source=person_relative_url
) )
try: if ticket.getPortalType() == 'Support Request':
ticket.validate() try:
except (AttributeError, UnsupportedWorkflowMethod): ticket.validate()
pass except (AttributeError, UnsupportedWorkflowMethod):
pass
if batch: if batch:
return event return event
......
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