mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-16 19:49:18 +00:00
[communication] [minor] cleaed model
This commit is contained in:
@@ -37,7 +37,7 @@ class JobsMailbox(POP3Mailbox):
|
||||
mail.save_attachments_in_doc(applicant.doc)
|
||||
|
||||
make(content=mail.content, sender=mail.from_email,
|
||||
doctype="Job Applicant", name=applicant.doc.name, set_lead=False)
|
||||
doctype="Job Applicant", name=applicant.doc.name)
|
||||
|
||||
def get_job_applications():
|
||||
if cint(webnotes.conn.get_value('Jobs Email Settings', None, 'extract_emails')):
|
||||
|
||||
@@ -11,9 +11,6 @@ class DocType(TransactionBase):
|
||||
def __init__(self, d, dl):
|
||||
self.doc, self.doclist = d, dl
|
||||
|
||||
def onload(self):
|
||||
self.add_communication_list()
|
||||
|
||||
def get_sender(self, comm):
|
||||
return webnotes.conn.get_value('Jobs Email Settings',None,'email_id')
|
||||
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
{
|
||||
"creation": "2013-01-29 19:25:37",
|
||||
"docstatus": 0,
|
||||
"modified": "2013-07-05 14:43:11",
|
||||
"modified": "2013-09-02 16:26:23",
|
||||
"modified_by": "Administrator",
|
||||
"owner": "Administrator"
|
||||
},
|
||||
@@ -89,6 +89,14 @@
|
||||
"fieldtype": "HTML",
|
||||
"label": "Thread HTML"
|
||||
},
|
||||
{
|
||||
"doctype": "DocField",
|
||||
"fieldname": "communications",
|
||||
"fieldtype": "Table",
|
||||
"hidden": 1,
|
||||
"label": "Communications",
|
||||
"options": "Communication"
|
||||
},
|
||||
{
|
||||
"doctype": "DocPerm"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user