From 8eba80a1c236ef72db410341d1af17061bdca99c Mon Sep 17 00:00:00 2001 From: Yannick Tivisse Date: Tue, 5 May 2015 11:44:19 +0200 Subject: [PATCH] [IMP] hr_recruitment : change availability into date field --- addons/hr_recruitment/hr_recruitment.py | 2 +- addons/hr_recruitment/hr_recruitment_view.xml | 5 +---- addons/hr_recruitment/report/hr_recruitment_report.py | 2 -- 3 files changed, 2 insertions(+), 7 deletions(-) diff --git a/addons/hr_recruitment/hr_recruitment.py b/addons/hr_recruitment/hr_recruitment.py index e57a7cdef6b..763a98d4214 100644 --- a/addons/hr_recruitment/hr_recruitment.py +++ b/addons/hr_recruitment/hr_recruitment.py @@ -240,7 +240,7 @@ class hr_applicant(osv.Model): 'salary_expected_extra': fields.char('Expected Salary Extra', help="Salary Expected by Applicant, extra advantages"), 'salary_proposed': fields.float('Proposed Salary', help="Salary Proposed by the Organisation"), 'salary_expected': fields.float('Expected Salary', help="Salary Expected by Applicant"), - 'availability': fields.integer('Availability', help="The number of days in which the applicant will be available to start working"), + 'availability': fields.date('Availability', help="The date in which the applicant will be available to start working. \n\nAdditional information like 'Not before the first 15 days of March' or 'Depends on the notice negociation' can be written in the application summary field."), 'partner_name': fields.char("Applicant's Name"), 'partner_phone': fields.char('Phone', size=32), 'partner_mobile': fields.char('Mobile', size=32), diff --git a/addons/hr_recruitment/hr_recruitment_view.xml b/addons/hr_recruitment/hr_recruitment_view.xml index b0224782d90..08b5aab7d2a 100644 --- a/addons/hr_recruitment/hr_recruitment_view.xml +++ b/addons/hr_recruitment/hr_recruitment_view.xml @@ -137,10 +137,7 @@ -