Bladeren bron

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

version-14
rohitwaghchaure 7 jaren geleden
committed by Faris Ansari
bovenliggende
commit
3e187d7d50
1 gewijzigde bestanden met toevoegingen van 2 en 1 verwijderingen
  1. +2
    -1
      frappe/core/doctype/communication/communication.py

+ 2
- 1
frappe/core/doctype/communication/communication.py Bestand weergeven

@@ -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"):


Laden…
Annuleren
Opslaan