Skip to content
Snippets Groups Projects

ADD contact confirmation lead mail_template and translations

6 files
+ 2949
52
Compare changes
  • Side-by-side
  • Inline
Files
6
@@ -245,6 +245,49 @@
</div>
]]></field>
</record>
<record id="email_templ_lead_request_platform_news_confirm_id" model="mail.template">
<field name="name">Confirmation Email for Platform News Request Lead Receipt</field>
<field name="email_from">info+butlleti@somcomunitats.coop</field>
<field name="subject">[Somcomunitats.coop] Platform Newsletter Subscription Request</field>
<field name="email_to">${object.email_from}</field>
<field name="email_cc">info+butlleti@somcomunitats.coop</field>
<field name="email_bcc">${object.company_id.email}</field>
<field name="reply_to">
${(object.company_id.coop_email_contact or object.company_id.email)|safe}
</field>
<field name="model_id" ref="model_crm_lead" />
<field name="auto_delete" eval="True" />
<field name="lang">${(object.company_id.default_lang_id.code or object.company_id.partner_id.lang)}</field>
<field name="easy_my_coop" eval="True" />
<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>
<p>Thank you for filling out the form.</p>
<p>You have been subscribed correctly to the Platform Newsletter.</p>
<p>We'll let you know if there's any news about the project.</p>
<p>Here is a copy of the data we received:</p>
<div id="field_list_div" style="font-family: 'Lucica Grande', Ubuntu, Arial, Verdana, sans-serif; font-size: 10px; color: rgb(34, 34, 34); background-color: #FFF; ">
<p> - Email: ${object.email_from}</p>
<p> - Language: ${object.company_id.default_lang_id.code or object.company_id.partner_id.lang}</p>
</div>
<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>
</data>
</odoo>
\ No newline at end of file
Loading