diff options
| author | Dharti Ratani (Open ERP) <dhr@tinyerp.com> | 2013-03-14 16:11:57 +0530 |
|---|---|---|
| committer | Dharti Ratani (Open ERP) <dhr@tinyerp.com> | 2013-03-14 16:11:57 +0530 |
| commit | b0623b619dd4c527770aeb8fd94efdbb1d0e617d (patch) | |
| tree | a364f5523e74c37dd3d676be0054b0acef524e36 | |
| parent | dbeb2cade0c632499bf6b886285b03267bd0b458 (diff) | |
[IMP]Improved the action for menu Resumes and Letters to show hr applicant's attachment
bzr revid: dhr@tinyerp.com-20130314104157-n9x2jt1ve1jhxque
| -rw-r--r-- | addons/hr_recruitment/__openerp__.py | 1 | ||||
| -rw-r--r-- | addons/hr_recruitment/hr_recruitment_menu.xml | 15 |
2 files changed, 15 insertions, 1 deletions
diff --git a/addons/hr_recruitment/__openerp__.py b/addons/hr_recruitment/__openerp__.py index e83c546af04..d33bfed6a4d 100644 --- a/addons/hr_recruitment/__openerp__.py +++ b/addons/hr_recruitment/__openerp__.py @@ -42,6 +42,7 @@ You can define the different phases of interviews and easily rate the applicant 'base_status', 'decimal_precision', 'hr', + 'document', 'survey', 'base_calendar', 'fetchmail', diff --git a/addons/hr_recruitment/hr_recruitment_menu.xml b/addons/hr_recruitment/hr_recruitment_menu.xml index e86dbce6893..fb10a4f20a0 100644 --- a/addons/hr_recruitment/hr_recruitment_menu.xml +++ b/addons/hr_recruitment/hr_recruitment_menu.xml @@ -23,6 +23,19 @@ </field> </record> + <record model="ir.actions.act_window" id="hr_applicant_resumes"> + <field name="name">Resumes and Letters</field> + <field name="res_model">ir.attachment</field> + <field name="view_mode">tree,form</field> + <field name="view_id" ref="document.view_document_file_tree"/> + <field name="domain">[('res_model','=','hr.applicant')]</field> + <field name="help" type="html"> + <p class="oe_view_nocontent_create"> + Search through resumes and motivation letters. + </p> + </field> + </record> + <record model="ir.actions.act_window.view" id="action_hr_sec_kanban_view_act_job"> <field name="sequence" eval="0"/> <field name="view_mode">kanban</field> @@ -67,7 +80,7 @@ <menuitem name="Resumes and Letters" parent="base.menu_crm_case_job_req_main" - id="menu_crm_case_categ0_act_job02" action="crm_case_categ0_act_job" sequence="3"/> + id="menu_crm_case_categ0_act_job02" action="hr_applicant_resumes" sequence="3"/> <menuitem parent="hr.menu_hr_configuration" id="hr.menu_hr_job" action="hr.action_hr_job" sequence="2"/> |
