Commit fd5d0279 authored by Romain Courteaud's avatar Romain Courteaud

slapos_crm: Project_createSupportRequestWithCausality already checks if Support Request exists

parent 3c8ae81c
...@@ -53,10 +53,6 @@ for software_installation in software_installation_list: ...@@ -53,10 +53,6 @@ for software_installation in software_installation_list:
if should_notify: if should_notify:
support_request = context.Base_getSupportRequestInProgress(
title=ticket_title)
if support_request is None:
project = context.getFollowUpValue() project = context.getFollowUpValue()
support_request = project.Project_createSupportRequestWithCausality( support_request = project.Project_createSupportRequestWithCausality(
ticket_title, ticket_title,
......
...@@ -79,10 +79,6 @@ if should_notify: ...@@ -79,10 +79,6 @@ if should_notify:
support_request = context.Base_getSupportRequestInProgress( support_request = context.Base_getSupportRequestInProgress(
title=node_ticket_title) title=node_ticket_title)
if support_request is None:
support_request = context.Base_getSupportRequestInProgress(
title=ticket_title)
if support_request is None: if support_request is None:
project = context.getFollowUpValue() project = context.getFollowUpValue()
support_request = project.Project_createSupportRequestWithCausality( support_request = project.Project_createSupportRequestWithCausality(
......
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