diff options
Diffstat (limited to 'addons/mail/data/mail_group_data.xml')
| -rw-r--r-- | addons/mail/data/mail_group_data.xml | 28 |
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 <i>Settings</i> 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> |
