From 53a429fe388e2b8d6afa014e89203676457fd193 Mon Sep 17 00:00:00 2001 From: konykon <kon.tsagari@coopdevs.org> Date: Wed, 23 Aug 2023 17:19:50 +0200 Subject: [PATCH] Create mail template --- .../data/mail_template_data.xml | 22 +++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/energy_communities/data/mail_template_data.xml b/energy_communities/data/mail_template_data.xml index dc58f639a..2940c2573 100644 --- a/energy_communities/data/mail_template_data.xml +++ b/energy_communities/data/mail_template_data.xml @@ -2,6 +2,28 @@ <odoo> <data noupdate="1"> + <record id="email_templ_lead_assigned_to_coordinator_id" model="mail.template"> + <field name="name">Request for registration of the Energy Community on the platform</field> + <field name="email_from">${object.company_id.email}</field> + <field name="subject">[Somcomunitats.coop] Request for registration of the Energy Community on the platform</field> + <field name="email_to">${ctx.get('email_to')}</field> + <field name="model_id" ref="model_crm_lead" /> + <field name="auto_delete" eval="True" /> + <field name="lang">${object.company_id.partner_id.lang}</field> + <field name="body_html"> + <![CDATA[ + <div style="font-family: 'Lucica Grande', Ubuntu, Arial, Verdana, sans-serif; font-size: 12px; color: rgb(34, 34, 34); background-color: #FFF; "> + <p>Hello,</p><br/> + <p>There is a new Energy Community registration request.</p> + <p>Go to Odoo to track this registration.</p><br/> + <p>Yours faithfully,</p> + <p>Somcomunitats.coop team</p> + <p><a href="https://web-test.somcomunitats.coop/recursos/">Resources and FAQs</a></p> + </div> + ]]> + </field> + </record> + <record id="email_templ_lead_ce_creation_receipt_confirm_id" model="mail.template"> <field name="name">Confirmation Email for CE Creation Lead Receipt</field> <field name="email_from"> -- GitLab