2010-03-16 10:52:10 +00:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
<openerp>
|
|
|
|
<data>
|
|
|
|
<record id="view_hr_recruitment_report_tree" model="ir.ui.view">
|
|
|
|
<field name="name">hr.recruitment.report.tree</field>
|
|
|
|
<field name="model">hr.recruitment.report</field>
|
|
|
|
<field name="type">tree</field>
|
|
|
|
<field name="arch" type="xml">
|
|
|
|
<tree string="Recruitments Statistics">
|
2010-04-16 09:31:36 +00:00
|
|
|
<field name="date" invisible="1"/>
|
|
|
|
<field name="user_id" invisible="1"/>
|
|
|
|
<field name="job_id" invisible="1"/>
|
2010-05-19 09:27:39 +00:00
|
|
|
<field name="stage_id" invisible="1" />
|
2010-04-16 09:31:36 +00:00
|
|
|
<field name="department_id" invisible="1"/>
|
|
|
|
<field name="type_id" invisible="1"/>
|
2010-04-29 06:29:53 +00:00
|
|
|
<field name="partner_id" invisible="1"/>
|
|
|
|
<field name="partner_address_id" invisible="1"/>
|
2010-04-16 09:31:36 +00:00
|
|
|
<field name="company_id" groups="base.group_multi_company"/>
|
|
|
|
<field name="state" invisible="1"/>
|
2010-04-14 06:38:43 +00:00
|
|
|
<field name="year" invisible="1"/>
|
2010-04-21 07:25:00 +00:00
|
|
|
<field name="day" invisible="1"/>
|
2010-03-16 10:52:10 +00:00
|
|
|
<field name="month" invisible="1"/>
|
2010-04-19 11:23:35 +00:00
|
|
|
<field name="nbr" sum="# Cases"/>
|
|
|
|
<field name="salary_prop" sum="Salary Proposed" />
|
|
|
|
<field name="salary_exp" sum="Salary Expected"/>
|
|
|
|
<field name="available" sum="Available"/>
|
2010-03-16 10:52:10 +00:00
|
|
|
</tree>
|
|
|
|
</field>
|
|
|
|
</record>
|
|
|
|
|
2010-03-16 13:34:49 +00:00
|
|
|
<record id="view_hr_recruitment_report_graph" model="ir.ui.view">
|
2010-03-16 10:52:10 +00:00
|
|
|
<field name="name">hr.recruitment.report.graph</field>
|
|
|
|
<field name="model">hr.recruitment.report</field>
|
|
|
|
<field name="type">graph</field>
|
|
|
|
<field name="arch" type="xml">
|
|
|
|
<graph string="Recruitments Statistics" type="bar">
|
2010-03-16 13:34:49 +00:00
|
|
|
<field name="job_id"/>
|
|
|
|
<field name="nbr" operator="+"/>
|
2010-03-16 10:52:10 +00:00
|
|
|
</graph>
|
|
|
|
</field>
|
2010-03-16 13:34:49 +00:00
|
|
|
</record>
|
2010-03-16 10:52:10 +00:00
|
|
|
|
|
|
|
<record id="view_hr_recruitment_report_search" model="ir.ui.view">
|
|
|
|
<field name="name">hr.recruitment.report.search</field>
|
|
|
|
<field name="model">hr.recruitment.report</field>
|
|
|
|
<field name="type">search</field>
|
|
|
|
<field name="arch" type="xml">
|
|
|
|
<search string="Recruitments">
|
2010-04-02 07:09:38 +00:00
|
|
|
<group>
|
2010-04-21 07:25:00 +00:00
|
|
|
<filter icon="terp-hr" string="This Year"
|
|
|
|
domain="[('date','<=', time.strftime('%%Y-%%m-%%d')),('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="[('date','<=', time.strftime('%%Y-%%m-%%d')), ('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="[('date','<=', time.strftime('%%Y-%%m-%%d')), ('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 tasks"/>
|
|
|
|
<filter string="Current"
|
|
|
|
icon="terp-hr"
|
|
|
|
domain="[('state', '=' ,'open')]"
|
|
|
|
help = "In progress tasks"/>
|
|
|
|
<filter string="Pending"
|
|
|
|
icon="terp-hr"
|
|
|
|
domain="[('state','=','pending')]"
|
|
|
|
help = "Pending tasks"/>
|
|
|
|
<separator orientation="vertical"/>
|
|
|
|
<field name="department_id" widget="selection">
|
2010-05-13 13:17:19 +00:00
|
|
|
<filter icon="terp-hr"
|
2010-04-21 07:25:00 +00:00
|
|
|
string="My Recruitments "
|
|
|
|
help="My Department Recruitments"
|
|
|
|
domain="[('user_id','=',uid)]"/>
|
|
|
|
<filter icon="terp-hr"
|
|
|
|
string="Recruitments non assigned to departments"
|
|
|
|
help="Recruitments non assigned to departments"
|
|
|
|
domain="[('user_id','=',False)]"/>
|
2010-04-16 09:31:36 +00:00
|
|
|
</field>
|
2010-03-16 10:52:10 +00:00
|
|
|
<separator orientation="vertical"/>
|
2010-04-16 09:31:36 +00:00
|
|
|
<field name="company_id" widget="selection" groups="base.group_multi_company"/>
|
2010-03-16 10:52:10 +00:00
|
|
|
<field name="user_id" widget="selection">
|
2010-04-21 07:25:00 +00:00
|
|
|
<filter icon="terp-hr"
|
2010-04-16 09:31:36 +00:00
|
|
|
string="Recruitments non assigned"
|
|
|
|
help="Recruitments non assigned"
|
|
|
|
domain="[('user_id','=',False)]"/>
|
2010-03-16 10:52:10 +00:00
|
|
|
</field>
|
2010-04-02 07:09:38 +00:00
|
|
|
</group>
|
2010-05-25 08:06:45 +00:00
|
|
|
<newline/>
|
2010-05-25 16:33:03 +00:00
|
|
|
<group expand="1" string="Group By ...">
|
2010-05-24 06:26:13 +00:00
|
|
|
<filter string="User" name='User' icon="terp-hr" domain="[]" context="{'group_by':'user_id'}"/>
|
|
|
|
<filter string="Company" icon="terp-hr" domain="[]" context="{'group_by':'company_id'}" groups="base.group_multi_company"/>
|
2010-05-25 08:06:45 +00:00
|
|
|
<filter string="Partner" icon="terp-hr" domain="[]" context="{'group_by':'partner_id'}" />
|
|
|
|
<filter string="Stage" icon="terp-hr" domain="[]" context="{'group_by':'stage_id'}" />
|
2010-05-24 06:26:13 +00:00
|
|
|
<separator orientation="vertical"/>
|
2010-05-25 08:06:45 +00:00
|
|
|
<filter string="Partner Contact Name" icon="terp-hr" domain="[]" context="{'group_by':'partner_address_id'}" />
|
|
|
|
<filter string="Jobs" name="job" icon="terp-sale" domain="[]" context="{'group_by':'job_id'}"/>
|
|
|
|
<filter string="Department" name="department" icon="terp-hr" domain="[]" context="{'group_by':'department_id'}"/>
|
|
|
|
<filter string="Degree" name="degree" icon="terp-hr" domain="[]" context="{'group_by':'type_id'}"/>
|
|
|
|
<separator orientation="vertical"/>
|
|
|
|
<filter string="State" icon="terp-hr" domain="[]" context="{'group_by':'state'}"/>
|
|
|
|
<filter string="Day" name = "day" icon="terp-hr" domain="[]" context="{'group_by':'day'}"/>
|
|
|
|
<filter string="Month" icon="terp-hr" domain="[]" context="{'group_by':'month'}"/>
|
|
|
|
<filter string="Year" icon="terp-hr" domain="[]" context="{'group_by':'year'}"/>
|
2010-05-24 06:26:13 +00:00
|
|
|
</group>
|
|
|
|
|
2010-03-16 10:52:10 +00:00
|
|
|
<newline/>
|
2010-05-25 16:33:03 +00:00
|
|
|
<group expand="0" string="Extended options..." groups="base.group_extended">
|
2010-04-12 05:42:17 +00:00
|
|
|
<filter icon="terp-hr"
|
|
|
|
string="Hired"
|
2010-04-16 09:31:36 +00:00
|
|
|
name="done"
|
2010-04-12 05:42:17 +00:00
|
|
|
domain="[('state','=','done')]"/>
|
2010-04-29 06:29:53 +00:00
|
|
|
<separator orientation="vertical"/>
|
|
|
|
<field name="date"/>
|
2010-04-21 07:25:00 +00:00
|
|
|
<separator orientation="vertical"/>
|
2010-04-16 09:31:36 +00:00
|
|
|
<field name="priority"/>
|
2010-04-21 07:25:00 +00:00
|
|
|
<field name="stage_id" widget="selection"/>
|
|
|
|
<field name="job_id" widget="selection"/>
|
|
|
|
<newline/>
|
2010-04-29 06:29:53 +00:00
|
|
|
<filter icon="terp-hr"
|
|
|
|
string="Refused"
|
|
|
|
domain="[('state','=','cancel')]"/>
|
|
|
|
<separator orientation="vertical"/>
|
2010-04-12 05:42:17 +00:00
|
|
|
<field name="date_closed"/>
|
2010-04-29 06:29:53 +00:00
|
|
|
<separator orientation="vertical"/>
|
|
|
|
<field name="type_id" widget="selection"/>
|
2010-05-03 09:19:40 +00:00
|
|
|
<field name="partner_id"/>
|
|
|
|
<field name="partner_address_id"/>
|
2010-05-25 08:06:45 +00:00
|
|
|
</group>
|
2010-05-24 06:26:13 +00:00
|
|
|
</search>
|
2010-03-16 10:52:10 +00:00
|
|
|
</field>
|
|
|
|
</record>
|
|
|
|
|
|
|
|
<record id="action_hr_recruitment_report_all" model="ir.actions.act_window">
|
|
|
|
<field name="name">Recruitments</field>
|
|
|
|
<field name="res_model">hr.recruitment.report</field>
|
|
|
|
<field name="view_type">form</field>
|
|
|
|
<field name="view_mode">tree,graph</field>
|
2010-05-13 13:17:19 +00:00
|
|
|
<field name="context">{'search_default_month':1,'search_default_User':1,'search_default_user_id':uid,'group_by_no_leaf':1,'group_by':[]}</field>
|
2010-03-16 10:52:10 +00:00
|
|
|
<field name="search_view_id" ref="view_hr_recruitment_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_hr_recruitment_report_all" id="menu_hr_recruitment_report_all" parent="hr.menu_hr_reporting" sequence="2"/>
|
2010-03-16 10:52:10 +00:00
|
|
|
|
|
|
|
</data>
|
|
|
|
</openerp>
|