diff options
| author | Keyur Gajjar <kga@odoo.com> | 2015-08-20 15:06:39 +0530 |
|---|---|---|
| committer | Jérome Maes <jem@openerp.com> | 2016-04-13 11:20:05 +0200 |
| commit | d672d8aa867140bec8bd3a3a2f89e22fb9f14364 (patch) | |
| tree | e3fbbbde32c1effa594e3f8db0c3a8a38f2ef5a9 /addons/website_mail/data/mail_channel_data.xml | |
| parent | 16fafc12872ada07eb3f56ce6d8e33038c7cf521 (diff) | |
[MOVE] website_mail: file renaming according to new api
Diffstat (limited to 'addons/website_mail/data/mail_channel_data.xml')
| -rw-r--r-- | addons/website_mail/data/mail_channel_data.xml | 135 |
1 files changed, 135 insertions, 0 deletions
diff --git a/addons/website_mail/data/mail_channel_data.xml b/addons/website_mail/data/mail_channel_data.xml new file mode 100644 index 00000000000..a99ac074651 --- /dev/null +++ b/addons/website_mail/data/mail_channel_data.xml @@ -0,0 +1,135 @@ +<?xml version="1.0" encoding="utf-8"?> +<openerp> + <data noupdate="1"> + + <record model="mail.channel" id="channel_public"> + <field name="name">Discussion Group</field> + <field name="public">public</field> + <field name="description">Public Discussion Group</field> + </record> + + <!-- notify to admin of module installation --> + <record id="mail_template_data_module_install_website_mail" model="mail.template"> + <field name="name">website module install then send email</field> + <field name="subject">Your business is reachable from anywhere, anytime !</field> + <field name="email_from">help@odoo.com</field> + <field name="email_to">${user.email|safe}</field> + <field name="lang">${user.lang}</field> + <field name="model_id" ref="base.model_ir_module_module"/> + <field name="auto_delete" eval="True"/> + <field name="scheduled_date">${(datetime.datetime.now() + relativedelta(days=1)).strftime('%Y-%m-%d %H:%M')}</field> + <field name="body_html" ><![CDATA[ + <div style="margin: 10px auto;"> + <table cellspacing="0" cellpadding="0" style="width:100%;"> + <tbody> + <tr> + <td style="padding:2px;width:30%;"> + <img src="web/static/src/img/logo.png"/> + </td> + <td style="vertical-align: top; padding: 8px 10px;text-align: left;font-size: 14px;"> + <a href="web/login" style="float:right ;margin:15px auto;background: #a24689;border-radius: 5px;color: #ffffff;font-size: 16px;padding: 10px 20px 10px 20px;text-decoration: none;">Auto Login</a> + </td> + </tr> + </tbody> + </table> + <table style="width:100%;text-align:justify;margin:0 auto;border-collapse:collapse;border-top:1px solid lightgray""> + <tbody> + <tr> + <td style="padding:15px 10px;font-size:20px"> + <p style="color:#a24689;margin:0" >Awesome!</p><br> + <p dir="ltr" style="font-size:15px;margin-top:0pt;margin-bottom:0pt;"> + <span>Your website is now online !</span></p><br> + <p dir="ltr" style="margin-top:0pt;margin-bottom:8pt;"> + <span style="font-size:13px;font-weight:bold; ">Did you know ?</span></p> + <ul style="margin-top:0pt;margin-bottom:0pt;font-size:13px;list-style-type:disc;"> + <li dir="ltr"> + <p dir="ltr" style="margin-top:0pt;margin-bottom:0pt;"> + <span>Enhance your online business with astonishing apps like : Forum, Blog, e-Commerce, Events, online jobs...</span> + </p> + </li> + <li dir="ltr"> + <p dir="ltr" style="margin-top:0pt;margin-bottom:8pt;"> + <span>Customize the look of your website with our </span> + <span style="font-weight:bold;text-decoration:underline;"><a href="https://www.odoo.com/apps/themes">magnificent themes</a></span> + <span>to easily create a unique website.</span> + </p> + </li> + </ul> <br> + <p dir="ltr" style="font-size:13px;margin-top:0pt;margin-bottom:8pt;"> + <span style="font-weight:bold;">Discover the </span> + <span><a href="/web#view_type=kanban&model=project.project&action=project.open_view_project_all"> + <span style="font-weight:bold; text-decoration:underline;">Website planner</span></a></span> + <span> to activate extra features</span> + <span style="color:#a24689;margin:0;font-weight:bold">(${user.env['web.planner'].get_planner_progress('planner_website')}% done)</span> + </p> + <ul style="margin-top:0pt;margin-bottom:0pt;font-size:13px;list-style-type:disc;"> + <li dir="ltr"> + <p dir="ltr" style="margin-top:0pt;margin-bottom:0pt;"> + <span>Grow your traffic by optimizing your referencing with our SEO tool,</span> + </p> + </li> + <li dir="ltr"> + <p dir="ltr" style="margin-top:0pt;margin-bottom:0pt;"> + <span>Test different versions of a page to perform better in reaching your business objectives,</span> + </p> + </li> + <li dir="ltr"> + <p dir="ltr" style="margin-top:0pt;margin-bottom:0pt;"> + <span>Improve your conversion from visitor to customer with the Website Live support,</span> + </p> + </li> + <li dir="ltr"> + <p dir="ltr" style="margin-top:0pt;margin-bottom:0pt;"> + <span>Broaden your audience by translating your website automatically with Gengo,</span> + </p> + </li> + <li dir="ltr"> + <p dir="ltr" style="margin-top:0pt;margin-bottom:0pt;"> + <span>Go further into the customizing with our advanced HTML editor,</span> + </p> + </li> + <li dir="ltr"> + <p dir="ltr" style="margin-top:0pt;margin-bottom:8pt;"> + <span>And much more...</span> + </p> + </li> + </ul> + <br> + <p dir="ltr" style="font-size:13px;line-height:1.3;margin-top:0pt;margin-bottom:8pt;"> + <span style="font-weight:bold;">Need Help?</span> + <span style="font-style:italic;">You’re not alone</span> + </p> + <p dir="ltr" style="font-size:13px;margin-top:0pt;margin-bottom:8pt;"> + <span>We would be delighted to assist you along the way. Contact us at + <a href="mailto:help@odoo.com"><span style="text-decoration:underline;"> + help@odoo.com</span></a> if you have any question. You can also discover + how to get the best out of Odoo with our </span> + <a href="https://www.odoo.com/documentation/user/9.0/project.html"> + <span style="text-decoration:underline;">User Documentation</span></a> + </span><span> or with our </span> + <a href="https://www.odoo.com/documentation/9.0/"> + <span style="text-decoration:underline;">API Documentation</span></a> + </p> + <br> + <p dir="ltr" style="font-size:13px;margin-top:0pt;margin-bottom:8pt;"><span>Enjoy your Odoo experience,</span></p> + </td> + </tr> + </tbody> + </table> + <div dir="ltr" style="font-size:13px;margin-top:0pt;margin-bottom:8pt;color:grey"> + <span><br/>-- <br/>The Odoo Team<br/>PS: People love Odoo, check </span><a href="https://twitter.com/odoo/favorites"><span style="text-decoration:underline;">what they say about it.</span></a></span> + </div> + </div>]]></field> + </record> + + </data> + + <data noupdate="1"> + <function + id="mail_template_function_module_install_website_mail" + model="mail.template" + name="send_mail" + eval="[ref('mail_template_data_module_install_website_mail'), ref('base.module_website_mail')]"/> + </data> + +</openerp> |
