diff options
| author | ron@tinyerp.com <> | 2011-02-23 14:51:19 +0530 |
|---|---|---|
| committer | ron@tinyerp.com <> | 2011-02-23 14:51:19 +0530 |
| commit | d36bc422cd7a0e12eece05a17fb2ac9e2ec4cdbe (patch) | |
| tree | 4e3333f1a52fd7ff9565d93a97806ef913c8f258 | |
| parent | 3d13b586a03048268149a926cd9a0e0514c6261f (diff) | |
[IMP]HR-Recruitment:applicant becoming employee wrong data
bzr revid: ron@tinyerp.com-20110223092119-q0guxvmiroxz4qzi
| -rw-r--r-- | addons/hr_recruitment/hr_recruitment.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/hr_recruitment/hr_recruitment.py b/addons/hr_recruitment/hr_recruitment.py index fee03295120..0c3e61f27bf 100644 --- a/addons/hr_recruitment/hr_recruitment.py +++ b/addons/hr_recruitment/hr_recruitment.py @@ -417,7 +417,7 @@ class hr_applicant(crm.crm_case, osv.osv): if applicant.job_id: if applicant.partner_id: address = applicant.partner_id.address[0].id - emp_id = employee_obj.create(cr,uid,{'name': applicant.partner_id.name or applicant.name, + emp_id = employee_obj.create(cr,uid,{'name': applicant.partner_name or applicant.name, 'job_id': applicant.job_id.id, 'address_home_id':address }) |
