added job application

This commit is contained in:
Rushabh Mehta 2013-01-15 18:37:22 +05:30
parent 7d9f02cc99
commit 390f4e9475

View File

@ -44,7 +44,7 @@ class JobsMailbox(POP3Mailbox):
applicant.doc.status = "Open"
applicant.doc.save()
else:
name = (mail.from_real_name and (mail.from_real_name + "-" or "")) \
name = (mail.from_real_name and (mail.from_real_name + " - ") or "") \
+ mail.from_email
applicant = webnotes.model_wrapper({
"doctype":"Job Applicant",