2008-07-01 15:58:58 +00:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
2008-09-10 17:56:00 +00:00
|
|
|
<openerp>
|
2010-03-16 12:45:05 +00:00
|
|
|
<data>
|
2010-01-18 10:23:21 +00:00
|
|
|
<menuitem
|
|
|
|
id="hr.menu_hr_reporting"
|
2012-02-28 09:42:09 +00:00
|
|
|
name="Human Resources"
|
|
|
|
parent="base.menu_reporting"
|
2010-01-18 10:23:21 +00:00
|
|
|
sequence="40" />
|
2009-12-15 12:50:45 +00:00
|
|
|
|
2009-03-17 14:02:37 +00:00
|
|
|
<!-- Report for Users' Timesheet and Task Hours per Month -->
|
2009-12-15 12:50:45 +00:00
|
|
|
|
2010-03-17 09:35:57 +00:00
|
|
|
<record id="view_report_timesheet_task_user_search" model="ir.ui.view">
|
|
|
|
<field name="name">report.timesheet.task.user.search</field>
|
|
|
|
<field name="model">report.timesheet.task.user</field>
|
|
|
|
<field name="arch" type="xml">
|
2012-06-18 13:24:37 +00:00
|
|
|
<search string="Tasks by User">
|
2012-07-23 07:10:03 +00:00
|
|
|
<field name="name" string="Date"/>
|
|
|
|
<field name="user_id"/>
|
2012-06-18 13:24:37 +00:00
|
|
|
<group expand="1" string="Group By...">
|
|
|
|
<filter string="User" name="group_user_id" icon="terp-personal" context="{'group_by':'user_id'}"/>
|
2010-11-12 10:14:16 +00:00
|
|
|
<filter string="Month" icon="terp-go-month" context="{'group_by':'month'}" help="Group by month of date"/>
|
|
|
|
<filter string="Year" icon="terp-go-year" context="{'group_by':'year'}" help="Group by year of date"/>
|
|
|
|
</group>
|
2012-06-18 13:24:37 +00:00
|
|
|
</search>
|
2010-03-17 09:35:57 +00:00
|
|
|
</field>
|
|
|
|
</record>
|
2012-02-28 09:42:09 +00:00
|
|
|
|
2010-11-04 14:21:10 +00:00
|
|
|
<record id="view_task_hour_per_month_graph" model="ir.ui.view">
|
|
|
|
<field name="name">report.timesheet.task.user.graph</field>
|
|
|
|
<field name="model">report.timesheet.task.user</field>
|
|
|
|
<field name="arch" type="xml">
|
|
|
|
<graph string="Task Hours Per Month" type="bar">
|
|
|
|
<field name="user_id"/>
|
|
|
|
<field name="task_hrs" operator="+"/>
|
|
|
|
<field name="timesheet_hrs" operator="+"/>
|
|
|
|
</graph>
|
|
|
|
</field>
|
|
|
|
</record>
|
2012-02-28 09:42:09 +00:00
|
|
|
|
2009-03-17 14:02:37 +00:00
|
|
|
<record id="action_report_timesheet_task_user" model="ir.actions.act_window">
|
2010-09-09 13:27:59 +00:00
|
|
|
<field name="name">Task Hours Per Month</field>
|
2009-03-17 14:02:37 +00:00
|
|
|
<field name="res_model">report.timesheet.task.user</field>
|
|
|
|
<field name="view_type">form</field>
|
2014-03-04 12:29:31 +00:00
|
|
|
<field name="view_mode">graph</field>
|
2011-11-10 05:01:05 +00:00
|
|
|
<field name="context">{'search_default_year':1,'search_default_month':1, 'search_default_group_user_id':1}</field>
|
2009-03-17 14:02:37 +00:00
|
|
|
</record>
|
2012-07-02 10:31:11 +00:00
|
|
|
<menuitem id="menu_timesheet_task_user" parent="hr.menu_hr_reporting_timesheet"
|
2010-09-09 13:27:59 +00:00
|
|
|
action="action_report_timesheet_task_user" sequence="1"/>
|
2009-12-15 12:50:45 +00:00
|
|
|
|
2008-06-29 08:26:07 +00:00
|
|
|
</data>
|
2008-09-10 17:56:00 +00:00
|
|
|
</openerp>
|