Improve module description and template.

bzr revid: jir@tinyerp.com-20130614085559-auji06qm3mbhc7j2
This commit is contained in:
Jignesh Rathod (OpenERP) 2013-06-14 14:25:59 +05:30
parent 2bedd3a57d
commit d704899df3
4 changed files with 8 additions and 12 deletions

View File

@ -21,20 +21,17 @@
{
'name': 'Applicant Resumes and Letters',
'name': 'Applicant Resumes and Latters',
'version': '1.0',
'category': 'Human Resources',
'sequence': 25,
'summary': 'Applicant Resumes and Letters',
'summary': 'Search applicant by resume index content.',
'description': """
Manage Applicant Resumes and letters
====================================
This application allows you to keep resumes and letters with applicants.
This module allows you to search applicant by resume index content.
""",
'author': 'OpenERP SA',
'website': 'http://www.openerp.com',
'images': ['images/hr_recruitment_analysis.jpeg','images/hr_recruitment_applicants.jpeg'],
'images': [],
'depends': ['hr_recruitment','document'],
'data': ['hr_applicant_document_view.xml'],
'demo': [],

View File

@ -26,8 +26,7 @@ from datetime import datetime
from openerp.osv import fields, osv
from openerp.tools.translate import _
class applicant_document(osv.osv):
_name = 'hr.applicant'
class hr_applicant(osv.osv):
_inherit = 'hr.applicant'
def _get_index_content(self, cr, uid, ids, fields, args, context=None):

View File

@ -261,7 +261,7 @@ class hr_applicant(base_stage, osv.Model):
multi='day_close', type="float", store=True),
'color': fields.integer('Color Index'),
'emp_id': fields.many2one('hr.employee', 'employee'),
'attachments': fields.function(_compute_attachments, string='Attachments', \
'attachments': fields.function(_compute_attachments, string='Number of Attachments', \
type="integer"),
'user_email': fields.related('user_id', 'email', type='char', string='User Email', readonly=True),
}

View File

@ -232,7 +232,7 @@
<p>If you want more details, feel free to contact us by phone.</p>
<p>Kind regards,</p>
<br/>
${object.user_id.name}
${object.user_id.signature}
<br/>]]></field>
</record>
@ -251,7 +251,7 @@
If I do not answer, please let me a message with some schedules to call you back.</p>
<p>Kind regards,</p>
<br/>
${object.user_id.name}
${object.user_id.signature}
<br/>]]></field>
</record>