[IMP] hr modules: add OpenChatter notification after module installation
[odoo/odoo.git] / addons / hr_expense / hr_expense_data.xml
1 <?xml version="1.0" encoding="utf-8"?>
2 <openerp>
3     <data noupdate="1">
4         <!-- notify all employees of module installation -->
5         <function model="mail.group" name="message_append_note">
6             <!-- ids, subject, body, parent_id=False, type='notification', content_subtype='html' -->
7             <value eval="[ref('mail.group_all_employees')]"/>
8             <value>Module Expenses Management has been installed</value>
9             <value>Manage your employee's expenses, with validations by employee
10                 manager and accountant, creation and payment of invoice.
11
12                 This module also uses the analytic accounting and is compatible
13                 with the invoice on timesheet module so that you will be able to
14                 automatically re-invoice your customer's expenses if your work
15                 by project.
16             </value>
17         </function>
18
19         <!-- Resource: product.uom.categ -->
20         <record id="cat_expense" model="product.category">
21             <field name="parent_id" ref="product.cat0"/>
22             <field name="name">Expenses</field>
23         </record>
24
25     </data>
26 </openerp>