Skip to content

Commit

Permalink
Add cron for archive reminder; TODO TEST
Browse files Browse the repository at this point in the history
  • Loading branch information
nlachat-compassion committed Oct 15, 2024
1 parent 451e770 commit 1ffc8dc
Showing 1 changed file with 14 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
<odoo>
<data noupdate="1">
<record id="auto_reminder_archive_contact_cron" model="ir.cron">
<field name="name">T0024 - Automatic reminder for invalid partners</field>
<field name="interval_number">1</field>
<field name="interval_type">weeks</field>
<field name="numbercall">-1</field>
<field name="model_id" ref="model_res_partner" />
<field name="state">code</field>
<field name="code">model.cron_auto_reminder_archive_contact()</field>
<field name="active" eval="True" />
</record>
</data>
</odoo>

0 comments on commit 1ffc8dc

Please sign in to comment.