summaryrefslogtreecommitdiff
path: root/addons/mail/data/mail_group_data.xml
diff options
context:
space:
mode:
authorTejas Tank <tta@openerp.com>2012-08-17 16:16:10 +0530
committerTejas Tank <tta@openerp.com>2012-08-17 16:16:10 +0530
commitf4f0d42a70d62320b0d0b0d3aab16336b696a485 (patch)
treeac01c07c02a5284eb67d044e92e3255506e70a08 /addons/mail/data/mail_group_data.xml
parentae1ed5900caf1d0429ef731343af4ae364d989ae (diff)
parent6666d5993f9753c6ec3aec721b41ebd3fbc6c18c (diff)
Merged with latest.
bzr revid: tta@openerp.com-20120817104610-h7pova57capzm1by
Diffstat (limited to 'addons/mail/data/mail_group_data.xml')
-rw-r--r--addons/mail/data/mail_group_data.xml28
1 files changed, 28 insertions, 0 deletions
diff --git a/addons/mail/data/mail_group_data.xml b/addons/mail/data/mail_group_data.xml
new file mode 100644
index 00000000000..2152706d056
--- /dev/null
+++ b/addons/mail/data/mail_group_data.xml
@@ -0,0 +1,28 @@
+<?xml version="1.0" encoding="utf-8"?>
+<openerp>
+ <data noupdate="1">
+
+ <record model="mail.group" id="group_sales">
+ <field name="name">Sales</field>
+ <field name="description">Discussion about best sales practices and deals.</field>
+ </record>
+ <record model="mail.group" id="group_all_employees">
+ <field name="name">All Employees</field>
+ <field name="group_ids" eval="[(4, ref('base.group_user'))]"/>
+ <field name="description">Discussion about best sales practices and deals.</field>
+ </record>
+
+ <!-- notify all employees of module installation -->
+ <function model="mail.group" name="message_append_note">
+ <!-- ids, subject, body, parent_id=False, type='notification', content_subtype='html' -->
+ <value eval="[ref('mail.group_all_employees')]"/>
+ <value>Welcome to OpenERP!</value>
+ <value>Your homepage is a summary of messages you received and key information about documents you follow.
+
+The top menu bar contains all applications you installed. You can use this &lt;i&gt;Settings&lt;/i&gt; menu to install more applications, activate others features or give access to new users.
+
+To setup your preferences (name, email signature, avatar), click on the top right corner.</value>
+ </function>
+
+ </data>
+</openerp>