1 <?xml version="1.0" encoding="utf-8"?>
5 <record id="view_hr_timesheet_analytic_profit" model="ir.ui.view">
6 <field name="name">Timesheet Profit</field>
7 <field name="model">hr.timesheet.analytic.profit</field>
8 <field name="type">form</field>
9 <field name="arch" type="xml">
10 <form string="Timesheet Profit">
11 <group height="420" width="370">
12 <group col="4" colspan="4">
13 <field name="date_from"/>
14 <field name="date_to"/>
15 <separator string="Journals" colspan="4"/>
16 <field name="journal_ids" colspan="4" nolabel="1"/>
17 <separator string="Users" colspan="4"/>
18 <field name="employee_ids" colspan="4" nolabel="1"/>
20 <separator colspan="4"/>
21 <group col="2" colspan="4">
22 <button special="cancel" string="Cancel" icon="gtk-cancel"/>
23 <button name="print_report" string="Print" colspan="1" type="object" icon="gtk-print"/>
30 <record id="action_hr_timesheet_analytic_profit" model="ir.actions.act_window">
31 <field name="name">Timesheet Profit</field>
32 <field name="type">ir.actions.act_window</field>
33 <field name="res_model">hr.timesheet.analytic.profit</field>
34 <field name="view_type">form</field>
35 <field name="view_mode">form</field>
36 <field name="target">new</field>
39 <menuitem action="action_hr_timesheet_analytic_profit"
40 id="menu_hr_timesheet_analytic_profit"
41 parent="hr_timesheet.menu_hr_reporting_timesheet" icon="STOCK_PRINT"/>