From e7b7ccfbe3a96f81066845d12d4cc08e0720a715 Mon Sep 17 00:00:00 2001 From: stephanchrst Date: Wed, 29 Nov 2023 14:39:17 +0700 Subject: add email and company in wati history --- indoteknik_custom/models/wati.py | 2 ++ indoteknik_custom/views/wati_history.xml | 9 +++++++++ 2 files changed, 11 insertions(+) diff --git a/indoteknik_custom/models/wati.py b/indoteknik_custom/models/wati.py index 1e6ac17f..af1aa7b8 100644 --- a/indoteknik_custom/models/wati.py +++ b/indoteknik_custom/models/wati.py @@ -187,6 +187,8 @@ class WatiHistory(models.Model): last_reply_text = fields.Char(string='Last Reply Text') last_reply_date = fields.Datetime(string='Last Reply Date') expired_date = fields.Datetime(string='Expired Date') + email = fields.Char(string='Email') + perusahaan = fields.Char(string='Perusahaan') # @api.onchange('last_reply_date') # def _compute_expired_date(self): diff --git a/indoteknik_custom/views/wati_history.xml b/indoteknik_custom/views/wati_history.xml index 1b9acc92..28698643 100644 --- a/indoteknik_custom/views/wati_history.xml +++ b/indoteknik_custom/views/wati_history.xml @@ -11,6 +11,8 @@ + + @@ -57,6 +59,7 @@ + @@ -70,6 +73,12 @@ + + + + + + -- cgit v1.2.3