From 80a60ae5c6388a6784ecf56b5472149a32248221 Mon Sep 17 00:00:00 2001 From: konykon <kon.tsagari@coopdevs.org> Date: Thu, 19 Oct 2023 11:10:15 +0200 Subject: [PATCH] Add ce_source_general_contact to email templates options --- energy_communities/services/crm_lead_service.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/energy_communities/services/crm_lead_service.py b/energy_communities/services/crm_lead_service.py index 25ba3539e..aefc0e05d 100644 --- a/energy_communities/services/crm_lead_service.py +++ b/energy_communities/services/crm_lead_service.py @@ -82,4 +82,6 @@ class CRMLeadService(Component): ) elif source_xml_id == "ce_source_general_info": template_external_id = "email_templ_lead_request_platform_news_confirm_id" + elif source_xml_id == "ce_source_general_contact": + template_external_id == "email_templ_contact_platform_confirm_id" return template_external_id -- GitLab