Parcourir la source

[fix] [communication] on communication send, update status

version-14
Anand Doshi il y a 12 ans
Parent
révision
7a88e952bd
1 fichiers modifiés avec 1 ajouts et 2 suppressions
  1. +1
    -2
      core/doctype/communication/communication.py

+ 1
- 2
core/doctype/communication/communication.py Voir le fichier

@@ -14,7 +14,7 @@ class DocType():
def update_parent(self): def update_parent(self):
"""update status of parent Lead or Contact based on who is replying""" """update status of parent Lead or Contact based on who is replying"""
observer = self.get_parent_bean().get_method("on_communication_sent")
observer = self.get_parent_bean().get_method("on_communication")
if observer: if observer:
observer(self.doc) observer(self.doc)
@@ -55,7 +55,6 @@ def make(doctype=None, name=None, content=None, subject=None,


if date: if date:
d.communication_date = date d.communication_date = date


d.communication_medium = communication_medium d.communication_medium = communication_medium


Chargement…
Annuler
Enregistrer