summaryrefslogtreecommitdiff
path: root/addons/mass_mailing_crm/data
diff options
context:
space:
mode:
authorstephanchrst <stephanchrst@gmail.com>2022-05-10 21:51:50 +0700
committerstephanchrst <stephanchrst@gmail.com>2022-05-10 21:51:50 +0700
commit3751379f1e9a4c215fb6eb898b4ccc67659b9ace (patch)
treea44932296ef4a9b71d5f010906253d8c53727726 /addons/mass_mailing_crm/data
parent0a15094050bfde69a06d6eff798e9a8ddf2b8c21 (diff)
initial commit 2
Diffstat (limited to 'addons/mass_mailing_crm/data')
-rw-r--r--addons/mass_mailing_crm/data/mass_mailing_demo.xml78
1 files changed, 78 insertions, 0 deletions
diff --git a/addons/mass_mailing_crm/data/mass_mailing_demo.xml b/addons/mass_mailing_crm/data/mass_mailing_demo.xml
new file mode 100644
index 00000000..41dcaf2d
--- /dev/null
+++ b/addons/mass_mailing_crm/data/mass_mailing_demo.xml
@@ -0,0 +1,78 @@
+<?xml version="1.0"?>
+<odoo>
+ <data noupdate="1">
+ <record id="mass_mail_lead_0" model="mailing.mailing">
+ <field name="name">Lead Recall</field>
+ <field name="subject">We want to hear from you !</field>
+ <field name="state">in_queue</field>
+ <field name="user_id" ref="base.user_admin"/>
+ <field name="schedule_date" eval="(DateTime.today() + relativedelta(days=5)).strftime('%Y-%m-%d %H:%M:%S')"/>
+ <field name="campaign_id" ref="mass_mailing.mass_mail_campaign_1"/>
+ <field name="source_id" ref="utm.utm_source_mailing"/>
+ <field name="mailing_model_id" ref="crm.model_crm_lead"/>
+ <field name="mailing_domain">[]</field>
+ <field name="reply_to_mode">email</field>
+ <field name="reply_to">${object.company_id.email}</field>
+ <field name="body_html" type="html">
+<table border="0" cellpadding="0" cellspacing="0" style="padding-top: 16px; background-color: #F1F1F1; font-family:Verdana, Arial,sans-serif; color: #454748; width: 100%; border-collapse:separate;"><tr><td align="center">
+<table border="0" cellpadding="0" cellspacing="0" width="590" style="padding: 24px; background-color: white; color: #454748; border-collapse:separate;">
+<tbody>
+ <!-- HEADER -->
+ <tr>
+ <td align="center" style="min-width: 590px;">
+ <table border="0" cellpadding="0" cellspacing="0" width="100%" style="background-color: white; padding: 0; border-collapse:separate;">
+ <tr><td valign="middle">
+ <span style="font-size: 10px;">Hello</span><br/>
+ <span style="font-size: 20px; font-weight: bold;">
+ ${object.name}
+ </span>
+ </td><td valign="middle" align="right">
+ <img src="${'/logo.png?company=%s' % object.company_id.id}" style="padding: 0px; margin: 0px; height: 48px;" alt="${object.company_id.name}"/>
+ </td></tr>
+ <tr><td colspan="2" style="text-align:center;">
+ <hr width="100%" style="background-color:rgb(204,204,204);border:medium none;clear:both;display:block;font-size:0px;min-height:1px;line-height:0; margin:4px 0px 32px 0px;"/>
+ </td></tr>
+ </table>
+ </td>
+ </tr>
+ <!-- CONTENT -->
+ <tr>
+ <td style="min-width: 590px;">
+ <p>Dear ${object.name}</p>
+ <p>Great stories have personality. Consider telling a great story that provides personality. Writing a story with personality for potential clients will assist with making a relationship connection. This shows up in small quirks like word choices or phrases. Write from your point of view, not from someone else's experience.</p>
+ <p>Great stories are for everyone even when only written for just one person. If you try to write with a wide general audience in mind, your story will ring false and be bland. No one will be interested. Write for one person. If it’s genuine for the one, it’s genuine for the rest.</p>
+ </td>
+ </tr>
+ <!-- FOOTER -->
+ <tr>
+ <td align="center" style="min-width: 590px; padding: 0 8px 0 8px; font-size:11px;">
+ <hr width="100%" style="background-color:rgb(204,204,204);border:medium none;clear:both;display:block;font-size:0px;min-height:1px;line-height:0; margin: 16px 0px 4px 0px;"/>
+ <b>${object.company_id.name}</b><br/>
+ <div style="color: #999999;">
+ ${object.company_id.phone}
+ % if object.company_id.email
+ |
+ <a href="${'mailto:%s' % object.company_id.email}" style="text-decoration:none; color: #999999;">
+ ${object.company_id.email}
+ </a>
+ % endif
+ % if object.company_id.website
+ |
+ <a href="'%s' % object.company_id.website" style="text-decoration:none; color: #999999;">
+ ${object.company_id.website}
+ </a>
+ % endif
+ </div>
+ </td>
+ </tr>
+</tbody>
+</table>
+</td></tr>
+<!-- POWERED BY -->
+<tr><td align="center" style="min-width: 590px;">
+ Powered by <a target="_blank" href="https://www.odoo.com?utm_source=db&amp;utm_medium=email" style="color: #875A7B;">Odoo</a>
+</td></tr>
+</table></field>
+ </record>
+</data>
+</odoo>