diff options
| author | stephanchrst <stephanchrst@gmail.com> | 2023-02-21 13:27:16 +0700 |
|---|---|---|
| committer | stephanchrst <stephanchrst@gmail.com> | 2023-02-21 13:27:16 +0700 |
| commit | 861bb64e5a972b8ce9b09d2345dbb6250d041435 (patch) | |
| tree | c588779220d84b91c3a5f77ebe8b58d0819d7574 | |
| parent | 3ea572e1292eca97b193c971091d7d2f7bbb260b (diff) | |
add cleansing wati cron
| -rwxr-xr-x | indoteknik_custom/__manifest__.py | 1 | ||||
| -rw-r--r-- | indoteknik_custom/views/wati.xml | 14 |
2 files changed, 15 insertions, 0 deletions
diff --git a/indoteknik_custom/__manifest__.py b/indoteknik_custom/__manifest__.py index 051f11ec..a794a822 100755 --- a/indoteknik_custom/__manifest__.py +++ b/indoteknik_custom/__manifest__.py @@ -61,6 +61,7 @@ 'views/website_ads.xml', 'views/leads_monitoring.xml', 'views/ip_lookup.xml', + 'views/wati.xml', 'report/report.xml', 'report/report_banner_banner.xml', 'report/report_banner_banner2.xml', diff --git a/indoteknik_custom/views/wati.xml b/indoteknik_custom/views/wati.xml new file mode 100644 index 00000000..fd0306be --- /dev/null +++ b/indoteknik_custom/views/wati.xml @@ -0,0 +1,14 @@ +<?xml version="1.0" encoding="UTF-8"?> +<odoo> + <record id="cron_wati_cleanup" model="ir.cron"> + <field name="name">Wati: Cleansing Notification</field> + <field name="interval_number">15</field> + <field name="interval_type">days</field> + <field name="numbercall">-1</field> + <field name="doall" eval="False"/> + <field name="model_id" ref="model_wati_notification"/> + <field name="code">model._cleanup()</field> + <field name="state">code</field> + <field name="priority">28</field> + </record> +</odoo> |
