[IMP]project_timesheet:added method for setting default type of invoicing
[odoo/odoo.git] / addons / hr_expense / hr_expense_data.xml
index ff1e699..2a9f3ae 100644 (file)
@@ -1,13 +1,21 @@
 <?xml version="1.0" encoding="utf-8"?>
 <openerp>
     <data noupdate="1">
-        <!--
-    Resource: product.uom.categ
-    -->
-       <record id="cat_expense" model="product.category">
-            <field name="parent_id" ref="product.product_category_0"/>
-            <field name="name">Expenses</field>
+        <!-- notify all employees of module installation -->
+        <record model="mail.message" id="module_install_notification">
+            <field name="model">mail.group</field>
+            <field name="res_id" ref="mail.group_all_employees"/>
+            <field name="type">notification</field>
+            <field name="subject">Expense Management application installed!</field>
+            <field name="body">Manage your employees' expenses, after due validation by their manager and the accountant, then generate and pay the corresponding invoices.
+
+This feature is also linked to analytic accounting and compatible with timesheet invoices, so you will be able to automatically re-invoice project-related expenses to your customers.</field>
         </record>
 
+        <!-- Resource: product.uom.categ -->
+        <record id="cat_expense" model="product.category">
+            <field name="parent_id" ref="product.product_category_all"/>
+            <field name="name">Expenses</field>
+        </record>
     </data>
 </openerp>