From a84342441d80ac1da03417ca0a40ab2fb225b9b2 Mon Sep 17 00:00:00 2001 From: Damien Bouvy Date: Tue, 26 Apr 2016 09:35:10 +0200 Subject: [PATCH] [FIX] hr_recruitment: no create on ir_attachment action The "Resumes and Letters" action simply displays ir_attachments linked to hr_applicant objects; but there is no default_res_model in the context so no ir_attachment you create is actually displayed in the kanban view. Since the goal of this action is simply to display attachments linked to applicants, it makes more sense to disable the create button and to force people to upload resumes and cover letters through the applicant record. --- addons/hr_recruitment/views/hr_recruitment_views.xml | 1 + 1 file changed, 1 insertion(+) diff --git a/addons/hr_recruitment/views/hr_recruitment_views.xml b/addons/hr_recruitment/views/hr_recruitment_views.xml index 4926c8f3003..ec8b246ff62 100644 --- a/addons/hr_recruitment/views/hr_recruitment_views.xml +++ b/addons/hr_recruitment/views/hr_recruitment_views.xml @@ -559,6 +559,7 @@ kanban,tree,form [('res_model','=','hr.applicant')] + {'create': False}

Search through resumes and motivation letters.