fix: check the correct email account
This commit is contained in:
parent
02e3e23b4c
commit
2507c6af97
1 changed files with 1 additions and 1 deletions
|
|
@ -433,7 +433,7 @@ class Communication(Document, CommunicationEmailMixin):
|
|||
frappe.db.commit()
|
||||
|
||||
def parse_email_for_timeline_links(self):
|
||||
if not frappe.db.get_value("Email Account", filters={"enable_automatic_linking": 1}):
|
||||
if not frappe.db.get_value("Email Account", self.email_account, "enable_automatic_linking"):
|
||||
return
|
||||
|
||||
for doctype, docname in parse_email([self.recipients, self.cc, self.bcc]):
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue