ソースを参照

Merge pull request #1184 from rmehta/email-receive-fix

[fix] remove arbit sender matching if append_to exists
version-14
Nabin Hait 10年前
コミット
84dce3445d
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)



読み込み中…
キャンセル
保存