diff --git a/addons/document/document.py b/addons/document/document.py
index 54f12e204fe..70cc676b18b 100644
--- a/addons/document/document.py
+++ b/addons/document/document.py
@@ -1027,7 +1027,7 @@ class node_dir(node_database):
print "Cannot eval %s." % dfld.expr
print e
pass
-
+
def __eq__(self, other):
if type(self) != type(other):
return False
diff --git a/addons/hr_recruitment/__openerp__.py b/addons/hr_recruitment/__openerp__.py
index d33bfed6a4d..e83c546af04 100644
--- a/addons/hr_recruitment/__openerp__.py
+++ b/addons/hr_recruitment/__openerp__.py
@@ -42,7 +42,6 @@ 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.py b/addons/hr_recruitment/hr_recruitment.py
index 39064304300..ead8264f663 100644
--- a/addons/hr_recruitment/hr_recruitment.py
+++ b/addons/hr_recruitment/hr_recruitment.py
@@ -213,17 +213,6 @@ class hr_applicant(base_stage, osv.Model):
res[issue.id] = len(attach)
return res
- def _get_index_content(self, cr, uid, ids, fields, args, context=None):
- res = {}
- attachment_pool = self.pool.get('ir.attachment')
- for issue in self.browse(cr, uid, ids, context=context):
- res[issue.id] = 0
- attach_id = attachment_pool.search(cr, uid, [('res_model','=','hr.applicant'),('res_id','=',issue.id)])
- if attach_id:
- for attach in attachment_pool.browse(cr, uid, attach_id, context):
- res[issue.id] = attach.index_content
- return res
-
_columns = {
'name': fields.char('Subject', size=128, required=True),
'active': fields.boolean('Active', help="If the active field is set to false, it will allow you to hide the case without removing it."),
@@ -276,8 +265,6 @@ class hr_applicant(base_stage, osv.Model):
'emp_id': fields.many2one('hr.employee', 'employee'),
'attachments': fields.function(_compute_attachments, string='Attachments', \
type="integer"),
- 'index_content': fields.function(_get_index_content, string='Index Content', \
- type="char",store=True),
'user_email': fields.related('user_id', 'email', type='char', string='User Email', readonly=True),
}
diff --git a/addons/hr_recruitment/hr_recruitment_menu.xml b/addons/hr_recruitment/hr_recruitment_menu.xml
index fb10a4f20a0..ac326f7b74c 100644
--- a/addons/hr_recruitment/hr_recruitment_menu.xml
+++ b/addons/hr_recruitment/hr_recruitment_menu.xml
@@ -23,18 +23,6 @@
-
- Resumes and Letters
- ir.attachment
- tree,form
-
- [('res_model','=','hr.applicant')]
-
-
- Search through resumes and motivation letters.
-
-
-
@@ -77,10 +65,6 @@
parent="base.menu_crm_case_job_req_main"
id="menu_crm_case_categ0_act_job" action="crm_case_categ0_act_job" sequence="1"/>
-
diff --git a/addons/hr_recruitment/hr_recruitment_view.xml b/addons/hr_recruitment/hr_recruitment_view.xml
index 0cc6aff1496..3b2d6766730 100644
--- a/addons/hr_recruitment/hr_recruitment_view.xml
+++ b/addons/hr_recruitment/hr_recruitment_view.xml
@@ -58,7 +58,6 @@
-
@@ -188,7 +187,7 @@
-
+
diff --git a/addons/hr_recruitment/res_config.py b/addons/hr_recruitment/res_config.py
index 161042a99f2..ba86722a6bc 100644
--- a/addons/hr_recruitment/res_config.py
+++ b/addons/hr_recruitment/res_config.py
@@ -29,5 +29,6 @@ class hr_applicant_settings(osv.osv_memory):
'module_document_ftp': fields.boolean('Allow the automatic indexation of resumes',
help="""Manage your CV's and motivation letter related to all applicants.
This installs the module document_ftp. This will install the knowledge management module in order to allow you to search using specific keywords through the content of all documents (PDF, .DOCx...)"""),
+
}