summaryrefslogtreecommitdiff
path: root/addons/mail/data/mail_group_data.xml
diff options
context:
space:
mode:
authorPurnendu Singh (OpenERP) <psi@tinyerp.com>2012-08-06 11:41:13 +0530
committerPurnendu Singh (OpenERP) <psi@tinyerp.com>2012-08-06 11:41:13 +0530
commit2bbdc47dc8d791cd502c8fc37ec9a5273ee10292 (patch)
treebc8dbba2cad6cc3eb2d9b343b1552d53698b6987 /addons/mail/data/mail_group_data.xml
parentd72386f18fff4abc3e7dcd2b9223a25028375a19 (diff)
parent0d2d7ee5855ecbd463ccc6fd902f3af54c504410 (diff)
[MERGE] merge with main addons
bzr revid: psi@tinyerp.com-20120806061113-1ck1nrda2sdq06im
Diffstat (limited to 'addons/mail/data/mail_group_data.xml')
-rw-r--r--addons/mail/data/mail_group_data.xml30
1 files changed, 30 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..09a6ca29a2d
--- /dev/null
+++ b/addons/mail/data/mail_group_data.xml
@@ -0,0 +1,30 @@
+<?xml version="1.0" encoding="utf-8"?>
+<openerp>
+ <data noupdate="1">
+
+ <record model="mail.group" id="group_all_company">
+ <field name="name">All Company</field>
+ <field name="description">All company users can come here and discuss.</field>
+ </record>
+ <record model="mail.group" id="group_sales">
+ <field name="name">Sales</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'))]"/>
+ </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 intall 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>