[FIX] product_extended: price from bom is build for product templates
[odoo/odoo.git] / addons / hr_timesheet_sheet / hr_timesheet_sheet_data.xml
1 <?xml version="1.0" ?>
2 <openerp>
3     <data noupdate="1">
4         <!-- notify all employees of module installation -->
5         <record model="mail.message" id="hr_timesheet_module_install_notification">
6             <field name="model">mail.group</field>
7             <field name="res_id" ref="mail.group_all_employees"/>
8             <field name="type">notification</field>
9             <field name="subtype_id" ref="mail.mt_comment"/>
10             <field name="subject">Timesheet Validation application installed!</field>
11             <field name="body"><![CDATA[<p>From the top menu "Human Resources", enter and validate timesheets and attendances.</p>]]></field>
12         </record>
13
14         <record id="ir_actions_server_timsheet_sheet" model="ir.actions.server">
15             <field name="sequence" eval="5"/>
16             <field name="state">code</field>
17             <field name="type">ir.actions.server</field>
18             <field name="model_id" ref="model_hr_timesheet_current_open"/>
19             <field name="code">action = pool.get('hr.timesheet.current.open').open_timesheet(cr, uid, None, context)</field>
20             <field name="condition">True</field>
21             <field name="name">My Timesheet</field>
22         </record>
23
24         <menuitem name="My Current Timesheet" id="menu_act_hr_timesheet_sheet_form_my_current" parent="hr_attendance.menu_hr_time_tracking" action="ir_actions_server_timsheet_sheet" sequence="1"/>
25
26     </data>
27 </openerp>