-
Notifications
You must be signed in to change notification settings - Fork 46
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add cron for archive reminder; TODO TEST
- Loading branch information
1 parent
451e770
commit 1ffc8dc
Showing
1 changed file
with
14 additions
and
0 deletions.
There are no files selected for viewing
14 changes: 14 additions & 0 deletions
14
partner_communication_switzerland/data/auto_reminder_archive_contact_cron.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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> |