2013-09-03 14:59:36 +00:00
<?xml version="1.0"?>
<openerp >
<!-- <data noupdate="1"> -->
<data >
<record id= "mass_mail_template_1" model= "email.template" >
<field name= "name" > Partner Newsletter 1</field>
<field name= "model_id" ref= "base.model_res_partner" />
<field name= "auto_delete" eval= "False" />
<field name= "partner_to" > ${object.id}</field>
2014-03-14 16:51:13 +00:00
<field name= "reply_to" > <![CDATA[Info <info@yourcompany.example.com>]]> </field>
<field name= "use_in_mass_mailing" eval= "True" />
<field name= "body_html" > <![CDATA[<div data-snippet-id="big-picture" style="padding:0px; margin:0px">
<table cellpadding= "0" cellspacing= "0" style= "margin:10px 0px 0px;vertical-align:top;padding:0px;font-family:arial;font-size:12px;color:rgb(51,51,51)" >
<tbody >
<tr >
<td style= "width:600px" valign= "top" >
<h2 style= "text-align: center; padding:0px 5px" > A Punchy Headline</h2>
</td>
</tr>
<tr >
<td style= "width:600px" valign= "top" > <img src= "/website/static/src/img/big_picture.png" style= "display:block;border:none;min-height:250px;margin:0 auto;" width= "500" > </td>
</tr>
<tr >
<td style= "width:600px" valign= "top" >
<p style= "text-align: center; overflow:hidden" > </p>
<h3 style= "text-align: center; padding:0px 5px" > A Small Subtitle for ${object.name}</h3>
<p > </p>
<p style= "text-align: center; overflow:hidden" > Choose a vibrant image and write an inspiring paragraph about it. It does not have to be long, but it should reinforce your image.</p>
</td>
</tr>
</tbody>
</table>
</div>
<div data-snippet-id= "three-columns" style= "padding:0px; margin:0px" >
<table cellpadding= "0" cellspacing= "0" style= "margin:10px 0px 0px;vertical-align:top;padding:0px;font-family:arial;font-size:12px;color:rgb(51,51,51)" >
<tbody >
<tr >
<td style= "width:300px" valign= "top" > <img src= "/website/static/src/img/desert_thumb.jpg" style= "display:block;border:none;min-height:50px" width= "275" > </td>
<td style= "width:300px" valign= "top" > <img src= "/website/static/src/img/deers_thumb.jpg" style= "display:block;border:none;min-height:50px" width= "275" > </td>
</tr>
<tr >
<td style= "width:300px" valign= "top" >
<h3 style= "text-align: center; padding:0px 5px" > Feature One</h3>
<p style= "overflow:hidden" > Choose a vibrant image and write an inspiring paragraph about it. It does not have to be long, but it should reinforce your image.</p>
</td>
<td style= "width:300px" valign= "top" >
<h3 style= "text-align: center; padding:0px 5px" > Feature Two</h3>
<p style= "overflow:hidden" > Choose a vibrant image and write an inspiring paragraph about it. It does not have to be long, but it should reinforce your image.</p>
</td>
</tr>
</tbody>
</table>
</div> ]]></field>
2013-09-03 14:59:36 +00:00
</record>
2014-03-14 16:51:13 +00:00
2013-09-03 14:59:36 +00:00
<record id= "mass_mail_template_2" model= "email.template" >
<field name= "name" > Partner Newsletter 2</field>
<field name= "model_id" ref= "base.model_res_partner" />
<field name= "auto_delete" eval= "False" />
<field name= "partner_to" > ${object.id}</field>
2014-03-14 16:51:13 +00:00
<field name= "reply_to" > <![CDATA[Info <info@yourcompany.example.com>]]> </field>
<field name= "use_in_mass_mailing" eval= "True" />
<field name= "body_html" > <![CDATA[<div data-snippet-id="text-image" style="padding:0px; margin:0px">
<table cellpadding= "0" cellspacing= "0" style= "margin:10px 0px 0px;vertical-align:top;padding:0px 5px;font-family:arial;font-size:12px;color:rgb(51,51,51)" >
<tbody >
<tr >
<td style= "width:600px" valign= "top" >
<div style= "padding:0px 5px" >
<h1 style= "text-align: center" > Sell Online. Easily.</h1>
<p style= "overflow:hidden" > Write one sentence to convince visitor about your message.</p>
</div>
</td>
</tr>
</tbody>
</table>
</div>
<div data-snippet-id= "hr" style= "padding:0px; margin:0px" >
<table cellpadding= "0" cellspacing= "0" style= "margin:10px 0px 0px;vertical-align:top;padding:0px;font-family:arial;font-size:12px;color:rgb(51,51,51)" >
<tbody >
<tr >
<td style= "width:600px" valign= "top" >
<div style= "padding:0px 5px" >
<hr style= "background-color:rgb(204,204,204);border:medium none;clear:both;display:block;font-size:0px;min-height:1px;line-height:0" width= "100%" data-snippet-id= "hr" > </div>
</td>
</tr>
</tbody>
</table>
</div>
<div data-snippet-id= "three-columns" style= "padding:0px; margin:0px" >
<table cellpadding= "0" cellspacing= "0" style= "margin:10px 0px 0px;vertical-align:top;padding:0px;font-family:arial;font-size:12px;color:rgb(51,51,51)" >
<tbody >
<tr >
<td style= "width:200px" valign= "top" > <img src= "/website/static/src/img/desert_thumb.jpg" style= "display:block;border:none;min-height:50px" width= "175" > </td>
<td style= "width:200px" valign= "top" > <img src= "/website/static/src/img/deers_thumb.jpg" style= "display:block;border:none;min-height:50px" width= "175" > </td>
<td style= "width:200px" valign= "top" > <img src= "/website/static/src/img/china_thumb.jpg" style= "display:block;border:none;min-height:50px" width= "175" > </td>
</tr>
<tr >
<td style= "width:200px" valign= "top" >
<h3 style= "text-align: center; padding:0px 5px" > Feature One</h3>
<p style= "overflow:hidden" > Choose a vibrant image and write an inspiring paragraph about it. It does not have to be long, but it should reinforce your image.</p>
</td>
<td style= "width:200px" valign= "top" >
<h3 style= "text-align: center; padding:0px 5px" > Feature Two</h3>
<p style= "overflow:hidden" > Choose a vibrant image and write an inspiring paragraph about it. It does not have to be long, but it should reinforce your image.</p>
</td>
<td style= "width:200px" valign= "top" >
<h3 style= "text-align: center; padding:0px 5px" > Feature Three</h3>
<p style= "overflow:hidden" > Choose a vibrant image and write an inspiring paragraph about it. It does not have to be long, but it should reinforce your image.</p>
</td>
</tr>
</tbody>
</table>
</div> ]]></field>
</record>
<!-- Create mailing lists -->
<record id= "mass_mail_list_1" model= "mail.mass_mailing.list" >
<field name= "name" > Imported Contacts</field>
<field name= "model" > mail.mass_mailing.contact</field>
</record>
<record id= "mass_mail_list_2" model= "mail.mass_mailing.list" >
<field name= "name" > Customers</field>
<field name= "model" > res.partner</field>
<field name= "model_id" eval= "ref('base.model_res_partner')" />
<field name= "domain" > [('customer', '=', True)]</field>
</record>
<!-- Create Contacts -->
<record id= "mass_mail_contact_1" model= "mail.mass_mailing.contact" >
<field name= "name" > Aristide Antario</field>
<field name= "email" > aa@example.com</field>
<field name= "list_id" eval= "ref('mass_mail_list_1')" />
</record>
<record id= "mass_mail_contact_2" model= "mail.mass_mailing.contact" >
<field name= "name" > Beverly Bridge</field>
<field name= "email" > bb@example.com</field>
<field name= "list_id" eval= "ref('mass_mail_list_1')" />
</record>
<record id= "mass_mail_contact_3" model= "mail.mass_mailing.contact" >
<field name= "name" > Carol Cartridge</field>
<field name= "email" > cc@example.com</field>
<field name= "list_id" eval= "ref('mass_mail_list_1')" />
<field name= "opt_out" eval= "True" />
2013-09-03 14:59:36 +00:00
</record>
2014-03-14 16:51:13 +00:00
<!-- Create campaign and mailings -->
2013-09-03 14:59:36 +00:00
<record id= "mass_mail_campaign_1" model= "mail.mass_mailing.campaign" >
<field name= "name" > Partners Newsletter</field>
2013-09-13 11:54:08 +00:00
<field name= "user_id" eval= "ref('base.user_root')" />
2013-09-03 14:59:36 +00:00
</record>
2013-09-13 11:54:08 +00:00
<record id= "mass_mail_1" model= "mail.mass_mailing" >
2013-09-03 14:59:36 +00:00
<field name= "name" > First Newsletter</field>
2014-03-14 16:51:13 +00:00
<field name= "state" > done</field>
2013-09-03 14:59:36 +00:00
<field name= "template_id" eval= "ref('mass_mail_template_1')" />
2014-03-14 16:51:13 +00:00
<field name= "date" eval= "(DateTime.today() - relativedelta(days=5)).strftime('%Y-%m-%d %H:%M:%S')" />
2013-09-03 14:59:36 +00:00
<field name= "mass_mailing_campaign_id" eval= "ref('mass_mail_campaign_1')" />
</record>
2013-09-13 11:54:08 +00:00
<record id= "mass_mail_2" model= "mail.mass_mailing" >
2013-09-03 14:59:36 +00:00
<field name= "name" > Second Newsletter</field>
2014-03-14 16:51:13 +00:00
<field name= "state" > test</field>
2013-09-03 14:59:36 +00:00
<field name= "template_id" eval= "ref('mass_mail_template_2')" />
2013-09-10 12:11:23 +00:00
<field name= "date" eval= "(DateTime.today() - relativedelta(days=3)).strftime('%Y-%m-%d %H:%M:%S')" />
2013-09-03 14:59:36 +00:00
<field name= "mass_mailing_campaign_id" eval= "ref('mass_mail_campaign_1')" />
</record>
2013-09-13 11:54:08 +00:00
<record id= "mass_mail_email_1" model= "mail.mail.statistics" >
<field name= "mass_mailing_id" eval= "ref('mass_mail_1')" />
<field name= "message_id" > 1111000@OpenERP.com</field>
2013-09-10 10:46:23 +00:00
<field name= "opened" eval= "(DateTime.today() - relativedelta(days=2)).strftime('%Y-%m-%d %H:%M:%S')" />
<field name= "replied" eval= "(DateTime.today() - relativedelta(days=1)).strftime('%Y-%m-%d %H:%M:%S')" />
2013-09-03 14:59:36 +00:00
</record>
2013-09-13 11:54:08 +00:00
<record id= "mass_mail_email_2" model= "mail.mail.statistics" >
<field name= "mass_mailing_id" eval= "ref('mass_mail_1')" />
<field name= "message_id" > 1111001@OpenERP.com</field>
2013-09-10 10:46:23 +00:00
<field name= "opened" eval= "(DateTime.today() - relativedelta(days=2)).strftime('%Y-%m-%d %H:%M:%S')" />
<field name= "replied" eval= "(DateTime.today() - relativedelta(days=0)).strftime('%Y-%m-%d %H:%M:%S')" />
2013-09-03 14:59:36 +00:00
</record>
2013-09-13 11:54:08 +00:00
<record id= "mass_mail_email_3" model= "mail.mail.statistics" >
<field name= "mass_mailing_id" eval= "ref('mass_mail_1')" />
<field name= "message_id" > 1111002@OpenERP.com</field>
2013-09-10 10:46:23 +00:00
<field name= "opened" eval= "(DateTime.today() - relativedelta(days=1)).strftime('%Y-%m-%d %H:%M:%S')" />
2013-09-03 14:59:36 +00:00
</record>
2013-09-13 11:54:08 +00:00
<record id= "mass_mail_email_4" model= "mail.mail.statistics" >
<field name= "mass_mailing_id" eval= "ref('mass_mail_1')" />
<field name= "message_id" > 1111003@OpenERP.com</field>
2013-09-03 14:59:36 +00:00
</record>
2013-09-13 11:54:08 +00:00
<record id= "mass_mail_email_5" model= "mail.mail.statistics" >
<field name= "mass_mailing_id" eval= "ref('mass_mail_1')" />
<field name= "message_id" > 1111004@OpenERP.com</field>
2013-09-10 10:46:23 +00:00
<field name= "bounced" eval= "(DateTime.today() - relativedelta(days=3)).strftime('%Y-%m-%d %H:%M:%S')" />
2013-09-03 14:59:36 +00:00
</record>
</data>
</openerp>