From a400a6b71bdd0ec77c9a053088c0024a2aadfaff Mon Sep 17 00:00:00 2001 From: stephanchrst Date: Thu, 16 Feb 2023 16:51:43 +0700 Subject: add operator and name in wait leads --- indoteknik_custom/models/wati.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/indoteknik_custom/models/wati.py b/indoteknik_custom/models/wati.py index 37c97f59..fbe350a5 100644 --- a/indoteknik_custom/models/wati.py +++ b/indoteknik_custom/models/wati.py @@ -29,6 +29,8 @@ class WatiNotification(models.Model): if current_lead: # must append internal notes as a reply here current_lead.description = str(current_lead.description) + "|" +str(text) + current_lead.operator_email = operator_email + current_lead.operator_name = operator_name wati.is_lead = True else: # create new leads -- cgit v1.2.3