From 57b12c36df829ab358a68a5356c3549cf9714900 Mon Sep 17 00:00:00 2001 From: stephanchrst Date: Thu, 16 Feb 2023 13:49:18 +0700 Subject: add wati notification handle --- indoteknik_custom/models/__init__.py | 1 + indoteknik_custom/models/wati.py | 11 +++++++++++ 2 files changed, 12 insertions(+) create mode 100644 indoteknik_custom/models/wati.py (limited to 'indoteknik_custom/models') diff --git a/indoteknik_custom/models/__init__.py b/indoteknik_custom/models/__init__.py index 55eca2e7..62a024e3 100755 --- a/indoteknik_custom/models/__init__.py +++ b/indoteknik_custom/models/__init__.py @@ -48,3 +48,4 @@ from . import website_ads from . import leads_monitoring from . import midtrans from . import ip_lookup +from . import wati diff --git a/indoteknik_custom/models/wati.py b/indoteknik_custom/models/wati.py new file mode 100644 index 00000000..f9ab6df2 --- /dev/null +++ b/indoteknik_custom/models/wati.py @@ -0,0 +1,11 @@ +from odoo import fields, models, api +import logging + +_logger = logging.getLogger(__name__) + + +class WatiNotification(models.Model): + _name = 'wati.notification' + + json_raw = fields.Char(string='JSON Raw Text') + -- cgit v1.2.3