summaryrefslogtreecommitdiff
path: root/addons/website_mail_channel/data/mail_template_data.xml
diff options
context:
space:
mode:
Diffstat (limited to 'addons/website_mail_channel/data/mail_template_data.xml')
-rw-r--r--addons/website_mail_channel/data/mail_template_data.xml29
1 files changed, 29 insertions, 0 deletions
diff --git a/addons/website_mail_channel/data/mail_template_data.xml b/addons/website_mail_channel/data/mail_template_data.xml
new file mode 100644
index 00000000000..31c602f99a3
--- /dev/null
+++ b/addons/website_mail_channel/data/mail_template_data.xml
@@ -0,0 +1,29 @@
+<?xml version="1.0" encoding="utf-8"?>
+<odoo>
+
+ <record id="mail_template_list_subscribe" model="mail.template">
+ <field name="name">Subscribe to mailing list</field>
+ <field name="model_id" ref="mail.model_mail_channel"/>
+ <field name="subject">Please confirm subscription to ${object.name}</field>
+ <field name="body_html" type="xml">
+<p>Hello,</p>
+<p>You have requested to be subscribed to the mailing list <strong>${object.name}</strong></p>
+<p>To confirm, please visit the following link:</p>
+<p><strong><a href="${ctx['token_url']}">${ctx['token_url']}</a></strong></p>
+<p>If this was a mistake or you did not requested this action, please ignore this message.</p>
+</field>
+ </record>
+
+ <record id="mail_template_list_unsubscribe" model="mail.template">
+ <field name="name">Unsubscribe to mailing list</field>
+ <field name="model_id" ref="mail.model_mail_channel"/>
+ <field name="subject">Please confirm unsubscription to ${object.name}</field>
+ <field name="body_html" type="xml">
+<p>Hello,</p>
+<p>You have requested to be unsubscribed to the mailing list <strong>${object.name}</strong></p>
+<p>To confirm, please visit the following link:</p>
+<p><strong><a href="${ctx['token_url']}">${ctx['token_url']}</a></strong></p>
+<p>If this was a mistake or you did not requested this action, please ignore this message.</p>
+</field>
+ </record>
+</odoo>