mirror of
https://github.com/frappe/erpnext.git
synced 2026-09-15 01:43:10 +00:00
Fixed get_sender for Sales and Jobs
This commit is contained in:
@@ -9,9 +9,9 @@ from erpnext.utilities.transaction_base import TransactionBase
|
||||
from frappe.utils import extract_email_id
|
||||
|
||||
class JobApplicant(TransactionBase):
|
||||
|
||||
|
||||
def get_sender(self, comm):
|
||||
return frappe.db.get_value('Jobs Email Settings',None,'email_id')
|
||||
|
||||
return frappe.db.get_value('Jobs Email Settings',None,'email_id') or comm.sender or frappe.session.user
|
||||
|
||||
def validate(self):
|
||||
self.set_status()
|
||||
self.set_status()
|
||||
|
||||
Reference in New Issue
Block a user