job application fixed

This commit is contained in:
Neil Trini Lasrado 2015-03-02 18:54:45 +05:30
parent 8c84fca182
commit 96bc31db27

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