You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
130 lines
7.7 KiB
130 lines
7.7 KiB
<?xml version="1.0" encoding="utf-8"?>
|
|
<odoo>
|
|
<data noupdate="0">
|
|
<record id="email_template_birthday_greeting" model="mail.template">
|
|
<field name="name">Birthday Greetings Template 1</field>
|
|
<field name="model_id" ref="base.model_res_partner"/>
|
|
<field name="subject">Happy Birthday {{object.name}}</field>
|
|
<field name="email_from">"{{object.cbg_company_id.name or object.user_id.name}}" <{{ (object.cbg_company_id.email or object.user_id.email) }}></field>
|
|
<field name="email_to">{{object.email}}</field>
|
|
<field name="partner_to">{{object.id}}</field>
|
|
<field name="body_html" type="html">
|
|
<div style="margin: 0px; padding: 0px;">
|
|
<p style="margin: 0px; padding: 0px; font-size: 13px;">
|
|
Dear <t t-out="object.name"/>,
|
|
<br/>
|
|
<br/>
|
|
Wish you a Happy Birthday! We hope that you have a great
|
|
year and accomplish all the
|
|
fabulous goals you have set. May the coming years have
|
|
filled with happiness, peace, and
|
|
love. Have a great day ahead.
|
|
<br/>
|
|
<br/>
|
|
Many happy returns!
|
|
<br/>
|
|
<br/>
|
|
</p>
|
|
Sincerely,
|
|
<br/>
|
|
<t t-esc="object.cbg_company_id.name or object.user_id.company_id.name"/>
|
|
</div>
|
|
</field>
|
|
<field name="auto_delete" eval="True"/>
|
|
</record>
|
|
|
|
|
|
<record id="email_template_birthday_greeting_two" model="mail.template">
|
|
<field name="name">Birthday Greetings Template 2</field>
|
|
<field name="model_id" ref="base.model_res_partner"/>
|
|
<field name="subject">Happy Birthday {{object.name}}</field>
|
|
<field name="email_from">"{{ object.cbg_company_id.name or object.user_id.name}}" <{{ (object.cbg_company_id.email or object.user_id.email) }}></field>
|
|
<field name="email_to">{{object.email}}</field>
|
|
<field name="partner_to">{{object.id}}</field>
|
|
<field name="body_html" type="html">
|
|
<link href="https://fonts.googleapis.com/css?family=Dancing+Script"
|
|
rel="stylesheet"/>
|
|
<div style="background-color: #ab669a;width: 100% !important;border-radius: 0px;-webkit-border-radius: 0px; -moz-border-radius: 0px;">
|
|
<div>
|
|
<h3 class="v-text-align v-font-size"
|
|
style="margin: 0px; color: #ffffff; line-height: 140%; text-align: center; word-wrap: break-word; font-weight: normal; font-family: 'Dancing Script', cursive; font-size: 18px;">
|
|
<strong>Happy</strong>
|
|
</h3>
|
|
</div>
|
|
<div>
|
|
<h3 class="v-text-align v-font-size"
|
|
style="margin: 0px; color: #ffffff; line-height: 140%; text-align: center; word-wrap: break-word; font-weight: normal; font-family: 'Dancing Script', cursive; font-size: 36px;">
|
|
<strong>Birthday</strong>
|
|
</h3>
|
|
</div>
|
|
<div>
|
|
<h3 class="v-text-align v-font-size"
|
|
style="margin: 0px; color: #ffffff; line-height: 140%; text-align: center; word-wrap: break-word; font-weight: normal; font-family: 'Dancing Script', cursive; font-size: 20px;">
|
|
<span t-field="object.name"/>
|
|
</h3>
|
|
</div>
|
|
<div align="center">
|
|
<img src="contacts_birthday_greetings/static/src/img/birthday_greetings.png"
|
|
alt="image" title="image"
|
|
style="outline: none;text-decoration: none;-ms-interpolation-mode: bicubic;clear: both;display: inline-block !important;border: none;height: auto;float: none;width: 100%;max-width: 600px;"
|
|
class="v-src-width v-src-max-width" width="600"
|
|
border="0" align="middle"/>
|
|
</div>
|
|
<div>
|
|
<h3 class="v-text-align v-font-size"
|
|
style="margin: 0px; color: #ffffff; line-height: 140%; text-align: center; word-wrap: break-word; font-weight: normal; font-family: 'Dancing Script', cursive; font-size: 36px;">
|
|
<strong>From all of us at</strong>
|
|
<t t-esc="object.cbg_company_id.name or object.user_id.company_id.name"/>
|
|
</h3>
|
|
</div>
|
|
</div>
|
|
</field>
|
|
<field name="auto_delete" eval="True"/>
|
|
</record>
|
|
|
|
|
|
<record id="email_template_birthday_greeting_three" model="mail.template">
|
|
<field name="name">Birthday Greetings Template 3</field>
|
|
<field name="model_id" ref="base.model_res_partner"/>
|
|
<field name="subject">Happy Birthday {{object.name}}</field>
|
|
<field name="email_from">"{{ object.cbg_company_id.name or object.user_id.name}}" <{{ (object.cbg_company_id.email or object.user_id.email) }}></field>
|
|
<field name="email_to">{{object.email}}</field>
|
|
<field name="partner_to">{{object.id}}</field>
|
|
<field name="body_html" type="html">
|
|
<link href="https://fonts.googleapis.com/css?family=Dancing+Script"
|
|
rel="stylesheet"/>
|
|
<div style="background-image: url(/contacts_birthday_greetings/static/src/img/birthday_greetings_2.png); background-position: center top;background-color: transparent; width: 100% !important;height:1050px !important;" >
|
|
<div style="text-align: center;font-weight: normal;font-size: 20px; padding-top: 210px;">
|
|
Today is your special day!
|
|
</div>
|
|
<div style="text-align: center;font-weight: normal;font-size: 30px; padding-top: 45px;">
|
|
Happy Birthday
|
|
</div>
|
|
<div style="text-align: center;font-weight: normal;font-size: 25px; padding-top: 30px;">
|
|
<span t-field="object.name"/>
|
|
</div>
|
|
<div align="center">
|
|
<img src="contacts_birthday_greetings/static/src/img/galaxy_cupcakes.png"
|
|
alt="image" title="image"
|
|
style="outline: none;text-decoration: none;-ms-interpolation-mode: bicubic;clear: both;display: inline-block !important;border: none;height: auto;float: none;"
|
|
class="v-src-width v-src-max-width" width="250"
|
|
border="0" align="middle"/>
|
|
</div>
|
|
<div style="text-align: center;font-weight: normal;font-size: 30px; padding-top: 20px;">
|
|
<strong>From all of us at</strong>
|
|
<br></br>
|
|
<t t-esc="object.cbg_company_id.name or object.user_id.company_id.name"/>
|
|
</div>
|
|
<div style="text-align: center;font-weight: normal;font-size: 20px; padding-top: 25px;">
|
|
We hope your day is filled with good things,
|
|
<br></br>
|
|
and that the year ahead is even better than the last!
|
|
</div>
|
|
</div>
|
|
</field>
|
|
<field name="auto_delete" eval="True"/>
|
|
</record>
|
|
|
|
|
|
</data>
|
|
</odoo>
|
|
|