소스 검색

[fix] remove arbit sender matching if append_to exists

version-14
Rushabh Mehta 10 년 전
부모
커밋
db6042b8a8
1개의 변경된 파일0개의 추가작업 그리고 8개의 파일을 삭제
  1. +0
    -8
      frappe/email/doctype/email_account/email_account.py

+ 0
- 8
frappe/email/doctype/email_account/email_account.py 파일 보기

@@ -215,14 +215,6 @@ class EmailAccount(Document):
"creation": (">", (get_datetime() - relativedelta(days=10)).strftime(DATE_FORMAT))
}, fields="name")

else:
# try and match by sender only
# as there is no subject field, it implies that threading isn't by subject, but by sender only

parent = frappe.db.get_all(self.append_to, filters={
sender_field: email.from_email,
}, fields="name")

if parent:
parent = frappe.get_doc(self.append_to, parent[0].name)



불러오는 중...
취소
저장