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="arch" type="xml">
9
<form string="Timesheet Profit" version="7.0">
12
<label for="date_from" string="Duration" />
14
<field name="date_from" nolabel="1" class="oe_inline" />
15
- <field name="date_to" nolabel="1" class="oe_inline"/>
19
<field name="journal_ids" widget="many2many_tags"/>
20
<field name="employee_ids" widget="many2many_tags"/>
24
<button name="print_report" string="Print" colspan="1" type="object" class="oe_highlight"/> or
25
<button special="cancel" string="Cancel" class="oe_link"/>
31
<record id="action_hr_timesheet_analytic_profit" model="ir.actions.act_window">
32
<field name="name">Timesheet Profit</field>
33
<field name="type">ir.actions.act_window</field>
34
<field name="res_model">hr.timesheet.analytic.profit</field>
35
<field name="view_type">form</field>
36
<field name="view_mode">form</field>
37
<field name="target">new</field>
40
<menuitem action="action_hr_timesheet_analytic_profit"
41
id="menu_hr_timesheet_analytic_profit"
42
parent="hr.menu_hr_reporting_timesheet" sequence="3" icon="STOCK_PRINT"/>