mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-26 08:24:47 +00:00
[fix] [communication] on communication send, update status
This commit is contained in:
@@ -14,7 +14,7 @@ class DocType(TransactionBase):
|
||||
def get_sender(self, comm):
|
||||
return webnotes.conn.get_value('Jobs Email Settings',None,'email_id')
|
||||
|
||||
def on_communication_sent(self, comm):
|
||||
def on_communication(self, comm):
|
||||
if webnotes.conn.get_value("Profile", comm.sender, "user_type")=="System User":
|
||||
status = "Replied"
|
||||
else:
|
||||
|
||||
Reference in New Issue
Block a user