소스 검색

[Fix] Showing status as Replied after adding the comment in the emails (#4865)

version-14
rohitwaghchaure 7 년 전
committed by Faris Ansari
부모
커밋
3e187d7d50
1개의 변경된 파일2개의 추가작업 그리고 1개의 파일을 삭제
  1. +2
    -1
      frappe/core/doctype/communication/communication.py

+ 2
- 1
frappe/core/doctype/communication/communication.py 파일 보기

@@ -70,7 +70,8 @@ class Communication(Document):
if not (self.reference_doctype and self.reference_name):
return

if self.reference_doctype == "Communication" and self.sent_or_received == "Sent":
if self.reference_doctype == "Communication" and self.sent_or_received == "Sent" and \
self.communication_type != 'Comment':
frappe.db.set_value("Communication", self.reference_name, "status", "Replied")

if self.communication_type in ("Communication", "Comment"):


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