Commit 687c9774 authored by Rafael Monnerat's avatar Rafael Monnerat

slapos_panel: Validate here isn't required

   Update of state should be done by alarms according to current implementation.
parent a2f9d3e9
Pipeline #37999 failed with stage
in 0 seconds
from Products.ERP5Type.Errors import UnsupportedWorkflowMethod
REQUEST = context.REQUEST
portal = context.getPortalObject()
ticket = context
......@@ -28,11 +26,6 @@ event = ticket.Ticket_createProjectEvent(
source=person_relative_url
)
try:
ticket.validate()
except (AttributeError, UnsupportedWorkflowMethod):
pass
if batch:
return event
return event.Base_redirect()
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