Merge pull request #2897 from neilLasrado/job-application

job application fixed
This commit is contained in:
Rushabh Mehta 2015-03-02 19:01:16 +05:30
commit c37281e59c

View File

@ -4,14 +4,7 @@
# For license information, please see license.txt
from __future__ import unicode_literals
import frappe
from frappe.model.document import Document
from frappe.utils import extract_email_id
class JobApplicant(Document):
def validate(self):
self.set_status()
def set_sender(self, sender):
"""Will be called by **Communication** when a Job Application is created from an incoming email."""
self.email_id = sender
pass