Skip to content
Snippets Groups Projects

Fix/edit email templates

Merged konykon requested to merge fix/edit-email-templates into dev
@@ -45,41 +45,45 @@
<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="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 contact.</p>
<p>We have received your email and we have we have forwarded it to the Community so that they can contact you as soon as possible.</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> - Contact name: ${object.name}</p>
<p> - Email: ${object.email_from}</p>
<p> - Phone: ${object.phone}</p>
<p> - Message: ${object.description}</p>
<p></p>
% if object.tag_ids:
<p> - Interested in:</p>
% for tag in object.tag_ids:
<p> ${tag.name}</p>
% endfor
% endif
</div>
<br />
<p>We keep in touch for any questions.</p>
<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 name="lang">${(object.company_id.default_lang_id.code or 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>
<p>Thank you for contact.</p>
<p>We have received your email and we have we have forwarded it to the Community so that they can contact you as soon as possible.</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> - Contact name: ${object.name}</p>
<p> - Email: ${object.email_from}</p>
<p> - Phone: ${object.phone}</p>
<p> - Message: ${object.description}</p>
<p></p>
% if object.tag_ids:
<p> - Interested in:</p>
% for tag in object.tag_ids:
<p> ${tag.name}</p>
% endfor
% endif
</div>
<br />
<p>We keep in touch for any questions.</p>
<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_request_ce_news_confirm_id" model="mail.template">
<record id="email_templ_lead_request_ce_news_confirm_id" model="mail.template">
<field name="name">Confirmation Email for CE News Request Lead Receipt</field>
<field name="email_from">
${(object.company_id.coop_email_contact or object.company_id.email)|safe}
@@ -93,28 +97,30 @@
<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="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; ">
<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>Hello,</p>
<p>Thank you for filling out the form.</p>
<p>Thank you for filling out the form.</p>
<p>You have been subscribed correctly to the Community Newsletter.</p>
<p>You have been subscribed correctly to the Community Newsletter.</p>
<p>Here is a copy of the data we received:</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> - Community name: ${object.company_id.name}</p>
<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 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> - Community name: ${object.company_id.name}</p>
<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>
</div>
]]></field>
</record>
@@ -132,43 +138,45 @@
<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="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>In case an Energy Community is activated in your neighborhood or municipality, they can consult the existing requests and contact you. Without any commitment on your part beyond having shown interest in promoting a movement of social transformation and an energy model.</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> - Contact name: ${object.name}</p>
<p> - Address: ${object.street}</p>
<p> - Zip code: ${object.zip}</p>
<p> - City: ${object.city}</p>
<p> - Email: ${object.email_from}</p>
<p> - Phone: ${object.phone}</p>
<p></p>
% if object.tag_ids:
<p> - Interested in:</p>
% for tag in object.tag_ids:
<p> ${tag.name}</p>
% endfor
% endif
</div>
<br />
<p>We keep in touch for any questions.</p>
<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
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>In case an Energy Community is activated in your neighborhood or municipality, they can consult the existing requests and contact you. Without any commitment on your part beyond having shown interest in promoting a movement of social transformation and an energy model.</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> - Contact name: ${object.name}</p>
<p> - Address: ${object.street}</p>
<p> - Zip code: ${object.zip}</p>
<p> - City: ${object.city}</p>
<p> - Email: ${object.email_from}</p>
<p> - Phone: ${object.phone}</p>
<p></p>
% if object.tag_ids:
<p> - Interested in:</p>
% for tag in object.tag_ids:
<p> ${tag.name}</p>
% endfor
% endif
</div>
<br />
<p>We keep in touch for any questions.</p>
<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_request_platform_news_confirm_id" model="mail.template">
<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">${object.company_id.email}</field>
<field name="subject">[Somcomunitats.coop] Platform Newsletter Subscription Request</field>
@@ -180,32 +188,34 @@
<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="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; ">
<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>Hello,</p>
<p>Thank you for filling out the form.</p>
<p>Thank you for filling out the form.</p>
<p>You have been subscribed correctly to the Platform Newsletter.</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>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>
<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 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>
</div>
]]></field>
</record>
</data>
</data>
</odoo>
Loading