From e2e755caeb00b12f469841a9b17db135790cbd32 Mon Sep 17 00:00:00 2001 From: stephanchrst Date: Tue, 21 Feb 2023 13:35:14 +0700 Subject: add cron for parsing midtrans notification --- indoteknik_custom/__manifest__.py | 1 + indoteknik_custom/views/midtrans.xml | 14 ++++++++++++++ 2 files changed, 15 insertions(+) create mode 100644 indoteknik_custom/views/midtrans.xml diff --git a/indoteknik_custom/__manifest__.py b/indoteknik_custom/__manifest__.py index a794a822..243b3028 100755 --- a/indoteknik_custom/__manifest__.py +++ b/indoteknik_custom/__manifest__.py @@ -62,6 +62,7 @@ 'views/leads_monitoring.xml', 'views/ip_lookup.xml', 'views/wati.xml', + 'views/midtrans.xml', 'report/report.xml', 'report/report_banner_banner.xml', 'report/report_banner_banner2.xml', diff --git a/indoteknik_custom/views/midtrans.xml b/indoteknik_custom/views/midtrans.xml new file mode 100644 index 00000000..487e7b7e --- /dev/null +++ b/indoteknik_custom/views/midtrans.xml @@ -0,0 +1,14 @@ + + + + Midtrans: Parsing Notification + 17 + minutes + -1 + + + model._parse_notification() + code + 29 + + -- cgit v1.2.3