From 1d5f3debbbdd5ba80937bd5c0a2d937bb1186941 Mon Sep 17 00:00:00 2001 From: "Pinakin Nayi (OpenERP)" Date: Mon, 11 Jun 2012 11:16:03 +0530 Subject: [PATCH] [IMP] hr_recruitmentimprove bzr revid: pna@tinyerp.com-20120611054603-5gph89jeahglcu08 --- addons/hr_holidays/report/holidays_summary_report.py | 2 +- addons/hr_recruitment/hr_recruitment.py | 2 -- addons/hr_recruitment/hr_recruitment_view.xml | 4 +--- 3 files changed, 2 insertions(+), 6 deletions(-) diff --git a/addons/hr_holidays/report/holidays_summary_report.py b/addons/hr_holidays/report/holidays_summary_report.py index c656859c54d..ede6fd7d656 100644 --- a/addons/hr_holidays/report/holidays_summary_report.py +++ b/addons/hr_holidays/report/holidays_summary_report.py @@ -117,7 +117,7 @@ class report_custom(report_rml): else: holiday_type=('validate') else: - type="Confirmed and Validated" + type="Confirmed and Approved" holiday_type=('confirm','validate') date_xml.append('%s\n'% (str(rml_obj.formatLang(som.strftime("%Y-%m-%d"),date=True)))) date_xml.append('%s\n' %(str(rml_obj.formatLang(eom.strftime("%Y-%m-%d"),date=True)))) diff --git a/addons/hr_recruitment/hr_recruitment.py b/addons/hr_recruitment/hr_recruitment.py index 678350857d3..e9f1c28e289 100644 --- a/addons/hr_recruitment/hr_recruitment.py +++ b/addons/hr_recruitment/hr_recruitment.py @@ -324,7 +324,6 @@ class hr_applicant(base_stage, osv.Model): context.update({ 'default_applicant_id': opp.id, - 'default_department_id': opp.department_id.id, 'default_partner_id': opp.partner_id and opp.partner_id.id or False, 'default_email_from': opp.email_from, 'default_state': 'open', @@ -585,7 +584,6 @@ class crm_meeting(osv.osv): _inherit = 'crm.meeting' _columns = { 'applicant_id': fields.many2one('hr.applicant','Applicant Meeting'), - 'department_id': fields.many2one('hr.department', 'Department',groups="base.group_hr_user,base.group_hr_manager"), } # vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4: \ No newline at end of file diff --git a/addons/hr_recruitment/hr_recruitment_view.xml b/addons/hr_recruitment/hr_recruitment_view.xml index 763e5232f87..abe9b33edcd 100644 --- a/addons/hr_recruitment/hr_recruitment_view.xml +++ b/addons/hr_recruitment/hr_recruitment_view.xml @@ -515,11 +515,9 @@ - - +