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.
 
 
 
 
 

121 lines
7.3 KiB

<?xml version="1.0" encoding="utf-8"?>
<odoo>
<data noupdate="0">
<record id="email_template_birthday_greeting_one" 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}}" &lt;{{ (object.cbg_company_id.email or object.user_id.email) }}&gt;</field>
<field name="email_to">{{object.email}}</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_two_greeting" 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}}" &lt;{{ (object.cbg_company_id.email or object.user_id.email) }}&gt;</field>
<field name="email_to">{{object.email}}</field>
<field name="body_html" type="html">
<link href="https://fonts.googleapis.com/css?family=Dancing+Script"
rel="stylesheet"/>
<div style="background-color: white;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: #7b1b21; 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: #7b1b21; 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: #7b1b21; 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="https://img.freepik.com/premium-photo/happy-birthday-cake-png-white-background_1009855-95.jpg?w=826"
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: #7b1b21; 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_three_greeting" 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}}" &lt;{{ (object.cbg_company_id.email or object.user_id.email) }}&gt;</field>
<field name="email_to">{{object.email}}</field>
<field name="body_html" type="html">
<link href="https://fonts.googleapis.com/css?family=Dancing+Script"
rel="stylesheet"/>
<div style="background-image: url(https://i.pinimg.com/736x/94/24/ca/9424cab58c8d38ed2431eb1f41217f7a.jpg); background-position: center top; background-repeat: no-repeat;background-color: transparent; width: 100% !important;height:1050px !important;" >
<div style="text-align: center;font-weight: normal;font-size: 25px; padding-top: 30ex;">
<span t-field="object.name"/>
</div>
<div align="center">
<img src="https://pngimg.com/d/chocolate_cake_PNG50.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;padding-top: 3ex;"
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>