Commit c7ddff4b authored by Romain Courteaud's avatar Romain Courteaud

slapos_cloud: stop using getPreferredSupportRequestTemplate

parent 50f9be24
......@@ -40,11 +40,8 @@ if support_request_in_progress is not None:
resource = portal.service_module.\
slapos_crm_monitoring.getRelativeUrl()
support_request = portal.restrictedTraverse(
portal.portal_preferences.getPreferredSupportRequestTemplate())\
.Base_createCloneDocument(batch_mode=1)
support_request.edit(
support_request = portal.support_request_module.newContent(
portal_type="Support Request",
title = support_request_title,
description = description,
start_date = DateTime(),
......
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