improved_view
authorFabien Pinckaers <fp@tinyerp.com>
Wed, 29 Oct 2008 15:18:25 +0000 (16:18 +0100)
committerFabien Pinckaers <fp@tinyerp.com>
Wed, 29 Oct 2008 15:18:25 +0000 (16:18 +0100)
bzr revid: fp@tinyerp.com-20081029151825-p600jn9iebsli5kn

addons/hr_timesheet/hr_timesheet_view.xml

index 16c3d02..2a45fe3 100644 (file)
                 </form>
             </field>
         </record>
-        
-        <record id="act_hr_timesheet_line_today_form" model="ir.actions.act_window">
-            <field name="name">Working Hours</field>
-            <field name="type">ir.actions.act_window</field>
-            <field name="res_model">hr.analytic.timesheet</field>
-            <field name="view_type">form</field>
-            <field name="view_id" ref="hr_timesheet_line_tree"/>
-        </record>
-        <menuitem id="menu_act_hr_timesheet_line_today_form" parent="hr.menu_hr_root"/>
+        <menuitem id="menu_act_hr_timesheet_line_today_form" parent="hr.menu_hr_root" name="Working Hours"/>
         
         <record id="act_hr_timesheet_line_me_all_form" model="ir.actions.act_window">
             <field name="name">My Working Hours</field>