2010-03-12 06:59:13 +00:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
<openerp>
|
|
|
|
<data>
|
|
|
|
<record id="view_evaluation_report_tree" model="ir.ui.view">
|
2010-03-12 07:21:01 +00:00
|
|
|
<field name="name">hr.evaluation.report.tree</field>
|
|
|
|
<field name="model">hr.evaluation.report</field>
|
2010-03-12 06:59:13 +00:00
|
|
|
<field name="type">tree</field>
|
|
|
|
<field name="arch" type="xml">
|
|
|
|
<tree string="Evaluations Statistics">
|
|
|
|
<field name="create_date"/>
|
|
|
|
<field name="employee_id"/>
|
|
|
|
<field name="deadline"/>
|
|
|
|
<field name="closed" invisible="1"/>
|
|
|
|
<field name="year" invisible="1"/>
|
|
|
|
<field name="month" invisible="1"/>
|
|
|
|
<field name="nbr" sum="# of Requests"/>
|
|
|
|
<field name="state"/>
|
|
|
|
</tree>
|
|
|
|
</field>
|
|
|
|
</record>
|
|
|
|
|
|
|
|
<record id="view_evaluation_report_search" model="ir.ui.view">
|
2010-03-12 07:21:01 +00:00
|
|
|
<field name="name">hr.evaluation.report.search</field>
|
|
|
|
<field name="model">hr.evaluation.report</field>
|
2010-03-12 06:59:13 +00:00
|
|
|
<field name="type">search</field>
|
|
|
|
<field name="arch" type="xml">
|
|
|
|
<search string="Evaluations">
|
2010-03-25 07:02:47 +00:00
|
|
|
<group>
|
|
|
|
<filter icon="terp-hr"
|
|
|
|
string="This Year"
|
|
|
|
domain="[('year','=',time.strftime('%%Y'))]"
|
|
|
|
help="Evaluations of the year"/>
|
|
|
|
<filter icon="terp-hr"
|
|
|
|
string="This Month"
|
|
|
|
domain="[('month','=',time.strftime('%%m'))]"
|
|
|
|
help="Evaluations of this month"/>
|
|
|
|
<separator orientation="vertical"/>
|
|
|
|
<filter icon="terp-hr"
|
|
|
|
string="Deadline"
|
|
|
|
domain="[('deadline','=',time.strftime('%%Y/%%m/%%d'))]"/>
|
|
|
|
<filter icon="terp-hr"
|
|
|
|
string="Closed"
|
|
|
|
domain="[('closed','=',time.strftime('%%Y/%%m/%%d'))]"/>
|
|
|
|
<separator orientation="vertical"/>
|
|
|
|
<field name="employee_id"/>
|
|
|
|
</group>
|
2010-03-12 06:59:13 +00:00
|
|
|
<newline/>
|
|
|
|
<group expand="1" string="Group By..." colspan="10" col="12">
|
|
|
|
<filter string="Employee" icon="terp-hr" context="{'group_by':'employee_id'}"/>
|
|
|
|
<separator orientation="vertical"/>
|
|
|
|
<filter string="State" icon="terp-hr" context="{'group_by':'state'}"/>
|
|
|
|
<separator orientation="vertical"/>
|
|
|
|
<filter string="Month" icon="terp-hr" context="{'group_by':'create_date'}"/>
|
|
|
|
<filter string="Year" icon="terp-hr" context="{'group_by':'year'}"/>
|
|
|
|
</group>
|
|
|
|
</search>
|
|
|
|
</field>
|
|
|
|
</record>
|
|
|
|
|
|
|
|
<record id="action_evaluation_report_all" model="ir.actions.act_window">
|
|
|
|
<field name="name">Evaluations</field>
|
2010-03-12 07:21:01 +00:00
|
|
|
<field name="res_model">hr.evaluation.report</field>
|
2010-03-12 06:59:13 +00:00
|
|
|
<field name="view_type">form</field>
|
2010-03-12 07:21:01 +00:00
|
|
|
<field name="view_mode">tree</field>
|
2010-03-12 06:59:13 +00:00
|
|
|
<field name="search_view_id" ref="view_evaluation_report_search"/>
|
|
|
|
</record>
|
|
|
|
|
|
|
|
<menuitem id="hr.menu_hr_reporting" name="Reporting" parent="hr.menu_hr_root" sequence="8"/>
|
2010-03-12 07:21:01 +00:00
|
|
|
<menuitem action="action_evaluation_report_all" id="menu_evaluation_report_all" parent="hr.menu_hr_reporting" sequence="0"/>
|
2010-03-12 06:59:13 +00:00
|
|
|
|
|
|
|
</data>
|
|
|
|
</openerp>
|