[imp] improve typo and on create employee behave at hr application.

bzr revid: amb@tinyerp.com-20130823053350-mpknggcrgl1504ta
This commit is contained in:
Amit Bhavsar (Open ERP) 2013-08-23 11:03:50 +05:30
parent 073bf7d937
commit a8063ba55c
2 changed files with 2 additions and 2 deletions

View File

@ -450,7 +450,7 @@ class hr_applicant(osv.Model):
'job_id': applicant.job_id.id,
'address_home_id': address_id,
'department_id': applicant.department_id.id or False,
'address_id': applicant.department_id and applicant.department_id.company_id and applicant.department_id.company_id.id or False,
'address_id': applicant.job_id and applicant.job_id.company_id and applicant.job_id.company_id.id or False,
'work_email': applicant.department_id and applicant.department_id.company_id and applicant.department_id.company_id.email or False,
'work_phone': applicant.department_id and applicant.department_id.company_id and applicant.department_id.company_id.phone or False,
})

View File

@ -221,7 +221,7 @@
<field name="lang">${object.lang}</field>
<field name="model_id" ref="hr_recruitment.model_hr_applicant"/>
<field eval="0" name="user_signature"/>
<field name="body_html"><![CDATA[<p>Dear Madam, Dear Sir,</p>
<field name="body_html"><![CDATA[<p>Dear Applicant,</p>
<p>We thank you for your interest in our company and for your application.
Unfortunately, your profile does not match with our needs or our recruitment campaign has reached its term.</p>
<p>If you want more details, feel free to contact us by phone.</p>