summaryrefslogtreecommitdiff
path: root/addons/mail/data/mail_group_data.xml
diff options
context:
space:
mode:
authorRaphael Collet <rco@openerp.com>2012-07-25 15:35:19 +0200
committerRaphael Collet <rco@openerp.com>2012-07-25 15:35:19 +0200
commitf5b6da1b46c2ea964b1385f01f17510afb33a377 (patch)
treeb3a077757924dbab9271b7565e54f63aae15d47b /addons/mail/data/mail_group_data.xml
parent35f890ae5d4cc310208255b170477bfa7cb3117d (diff)
[FIX] mail: put the notification on the group *after* the definition of the group
bzr revid: rco@openerp.com-20120725133519-vd8ehps85cr77q5h
Diffstat (limited to 'addons/mail/data/mail_group_data.xml')
-rw-r--r--addons/mail/data/mail_group_data.xml11
1 files changed, 11 insertions, 0 deletions
diff --git a/addons/mail/data/mail_group_data.xml b/addons/mail/data/mail_group_data.xml
index 11c259b3ee8..15928cd3e26 100644
--- a/addons/mail/data/mail_group_data.xml
+++ b/addons/mail/data/mail_group_data.xml
@@ -14,5 +14,16 @@
<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>Module Social Network has been installed</value>
+ <value>Manage all communications on your documents (emails,
+ notifications, comments and discussions) and keep track of
+ news on documents you follow.
+ </value>
+ </function>
+
</data>
</openerp>