Commit 9860df52 authored by Rafael Monnerat's avatar Rafael Monnerat

slapos_crm: Minor Fix

parent dab97cde
......@@ -53,10 +53,12 @@ for software_installation in software_installation_list:
support_request_description=description,
aggregate=software_installation.getRelativeUrl())
support_request = context.REQUEST.get("support_request_relative_url")
if support_request is None:
support_request_relative_url = context.REQUEST.get("support_request_relative_url")
if support_request_relative_url is None:
return
support_request = portal.restrictedTraverse(support_request_relative_url)
# Send Notification message
notification_reference = 'slapos-crm-compute_node_software_installation_state.notification'
notification_message = portal.portal_notifications.getDocumentValue(
......
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