<menuitem id="menu_hr_main" parent="menu_hr_root" name="Human Resources" sequence="0"/>
<menuitem id="menu_hr_configuration" name="Configuration" parent="hr.menu_hr_root" groups="base.group_hr_manager" sequence="50"/>
<menuitem id="menu_hr_management" name="Human Resources" parent="hr.menu_hr_configuration" sequence="25"/>
+ <menuitem id="menu_hr_reporting_timesheet" name="Reports"
+ parent="menu_hr_reporting" sequence="6" />
<!--Employee form view -->
<record id="view_employee_form" model="ir.ui.view">
<field name="work_email" widget="email"/>
<field name="work_location"/>
</group>
- <group string="Job Information">
+ <group name="job_information" string="Job Information">
<field name="job_id" domain="[('state','!=','old')]" context="{'form_view_ref': 'hr.view_hr_job_employee_form'}"/>
<field name="coach_id"/>
</group>
<field name="view_mode">form</field>
<field name="view_id" ref="view_employee_form"/>
<field name="act_window_id" ref="open_view_employee_list_my"/>
- </record>
+ </record>
<menuitem action="open_view_employee_list_my" id="menu_open_view_employee_list_my" sequence="3" parent="menu_hr_main"/>
<form string="Job" version="7.0">
<header>
<span groups="base.group_user">
- <button name="job_recruitement" string="In Recruitement" states="open" type="object"/>
- <button name="job_open" string="Recruitment Done" states="recruit" type="object"/>
+ <button name="job_recruitement" string="In Recruitement" states="open" type="object" class="oe_highlight"/>
+ <button name="job_open" string="Recruitment Done" states="recruit" type="object" class="oe_highlight"/>
</span>
<field name="state" widget="statusbar" statusbar_visible="recruit,open"/>
</header>
<search string="Jobs">
<field name="name" string="Job"/>
<separator orientation="vertical"/>
- <filter icon="terp-camera_test"
- domain="[('state','=','open')]"
+ <filter icon="terp-camera_test"
+ domain="[('state','=','open')]"
string="In Position"
help="In Position"/>
<filter icon="terp-personal+" domain="[('state','=','recruit')]" string="In Recruitment"
</search>
</field>
</record>
-
+
<record id="view_hr_job_employee_form" model="ir.ui.view">
<field name="name">hr.job.employee.form</field>
<field name="model">hr.job</field>
</form>
</field>
</record>
-
+
<record model="ir.actions.act_window" id="action_hr_job">
<field name="name">Job Positions</field>
<field name="res_model">hr.job</field>