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">
|
2010-04-21 09:35:53 +00:00
|
|
|
<field name="create_date" invisible="1"/>
|
|
|
|
<field name="employee_id" invisible="1"/>
|
|
|
|
<field name="deadline" invisible="1"/>
|
2010-03-12 06:59:13 +00:00
|
|
|
<field name="closed" invisible="1"/>
|
2010-04-21 09:35:53 +00:00
|
|
|
<field name="day" invisible="1"/>
|
2010-04-12 12:21:41 +00:00
|
|
|
<field name="plan_id" invisible="1"/>
|
2010-03-12 06:59:13 +00:00
|
|
|
<field name="year" invisible="1"/>
|
|
|
|
<field name="month" invisible="1"/>
|
2010-04-21 09:35:53 +00:00
|
|
|
<field name="rating" invisible="1"/>
|
2010-03-12 06:59:13 +00:00
|
|
|
<field name="nbr" sum="# of Requests"/>
|
2010-04-21 09:35:53 +00:00
|
|
|
<field name="state" invisible="1"/>
|
2010-03-12 06:59:13 +00:00
|
|
|
</tree>
|
|
|
|
</field>
|
|
|
|
</record>
|
|
|
|
|
2010-04-21 09:35:53 +00:00
|
|
|
<record id="view_evaluation_report_graph" model="ir.ui.view">
|
|
|
|
<field name="name">hr.evaluation.report.graph</field>
|
|
|
|
<field name="model">hr.evaluation.report</field>
|
|
|
|
<field name="type">graph</field>
|
|
|
|
<field name="arch" type="xml">
|
|
|
|
<graph string="Evaluations" type="bar">
|
|
|
|
<field name="employee_id"/>
|
|
|
|
<field name="nbr" operator="+"/>
|
|
|
|
<field name="state" group="True"/>
|
|
|
|
</graph>
|
|
|
|
</field>
|
|
|
|
</record>
|
|
|
|
|
2010-03-12 06:59:13 +00:00
|
|
|
<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>
|
2010-04-21 09:35:53 +00:00
|
|
|
<filter icon="terp-hr" string="This Year"
|
|
|
|
domain="[('create_date','<=', time.strftime('%%Y-%%m-%%d')),('create_date','>',(datetime.date.today()-datetime.timedelta(days=365)).strftime('%%Y-%%m-%%d'))]"
|
|
|
|
help="Tasks performed in this year"/>
|
|
|
|
<filter icon="terp-hr" string="This Month"
|
|
|
|
name="month"
|
|
|
|
domain="[('create_date','<=', time.strftime('%%Y-%%m-%%d')), ('create_date','>',(datetime.date.today()-datetime.timedelta(days=30)).strftime('%%Y-%%m-%%d'))]"
|
|
|
|
help="Tasks performed in this month"/>
|
|
|
|
<filter icon="gtk-media-rewind"
|
|
|
|
string=" 7 Days "
|
|
|
|
separator="1"
|
|
|
|
domain="[('create_date','<=', time.strftime('%%Y-%%m-%%d')), ('create_date','>',(datetime.date.today()-datetime.timedelta(days=7)).strftime('%%Y-%%m-%%d'))]"
|
|
|
|
help="Tasks during last 7 days"/>
|
|
|
|
<separator orientation="vertical"/>
|
|
|
|
<filter string="Draft"
|
|
|
|
icon="terp-hr"
|
|
|
|
domain="[('state','=','draft')]"
|
|
|
|
help = "Draft Evaluations"/>
|
|
|
|
<filter string="Plan In Progress"
|
|
|
|
icon="terp-hr"
|
|
|
|
domain="[('state', '=' ,'wait')]"
|
|
|
|
help = "In progress Evaluations"/>
|
|
|
|
<filter string="Final Validation"
|
|
|
|
icon="terp-hr"
|
|
|
|
domain="[('state','=','progress')]"
|
|
|
|
help = "Final Validation Evaluations"/>
|
|
|
|
<separator orientation="vertical"/>
|
|
|
|
<field name="employee_id" widget="selection"/>
|
2010-04-12 12:21:41 +00:00
|
|
|
</group>
|
|
|
|
<newline/>
|
2010-04-21 09:41:29 +00:00
|
|
|
<group expand="0" string="Extended options..." colspan="10" col="12">
|
2010-04-12 12:21:41 +00:00
|
|
|
<filter icon="terp-hr"
|
|
|
|
string="Done"
|
|
|
|
domain="[('state','=','done')]"/>
|
|
|
|
<filter icon="terp-hr"
|
|
|
|
string="Cancelled"
|
|
|
|
domain="[('state','=','cancel')]"/>
|
2010-04-21 09:35:53 +00:00
|
|
|
<separator orientation="vertical"/>
|
|
|
|
<field name="rating"/>
|
|
|
|
<field name="plan_id" widget="selection"/>
|
|
|
|
<separator orientation="vertical"/>
|
|
|
|
<field name="deadline"/>
|
2010-04-12 12:21:41 +00:00
|
|
|
<newline/>
|
|
|
|
<field name="create_date"/>
|
|
|
|
<field name="closed"/>
|
2010-03-25 07:02:47 +00:00
|
|
|
</group>
|
2010-03-12 06:59:13 +00:00
|
|
|
<newline/>
|
|
|
|
<group expand="1" string="Group By..." colspan="10" col="12">
|
2010-04-16 06:50:22 +00:00
|
|
|
<filter string="Employee" name="employee" icon="terp-hr" context="{'group_by':'employee_id'}"/>
|
2010-04-21 09:35:53 +00:00
|
|
|
<filter string="Rating" icon="terp-hr" context="{'group_by':'rating'}"/>
|
2010-03-12 06:59:13 +00:00
|
|
|
<separator orientation="vertical"/>
|
2010-04-12 12:21:41 +00:00
|
|
|
<filter string="Plan" icon="terp-hr" context="{'group_by':'plan_id'}"/>
|
2010-03-12 06:59:13 +00:00
|
|
|
<filter string="State" icon="terp-hr" context="{'group_by':'state'}"/>
|
|
|
|
<separator orientation="vertical"/>
|
2010-04-21 09:35:53 +00:00
|
|
|
<filter string="Day" icon="terp-hr" context="{'group_by':'day'}"/>
|
2010-03-12 06:59:13 +00:00
|
|
|
<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-04-21 09:35:53 +00:00
|
|
|
<field name="view_mode">tree,graph</field>
|
|
|
|
<field name="context">{'search_default_month':1,'search_default_employee':1,'group_by_no_leaf':1,'group_by':[]}</field>
|
2010-03-12 06:59:13 +00:00
|
|
|
<field name="search_view_id" ref="view_evaluation_report_search"/>
|
|
|
|
</record>
|
|
|
|
|
2010-05-10 12:59:15 +00:00
|
|
|
<menuitem id="hr.menu_hr_reporting" name="Reporting" parent="hr.menu_hr_root" sequence="10"/>
|
|
|
|
<menuitem action="action_evaluation_report_all" id="menu_evaluation_report_all" parent="hr.menu_hr_reporting" sequence="3"/>
|
2010-03-12 06:59:13 +00:00
|
|
|
|
|
|
|
</data>
|
|
|
|
</openerp>
|