summaryrefslogtreecommitdiff
path: root/addons/auth_signup/data/ir_cron_data.xml
diff options
context:
space:
mode:
authorParth Choksi <pch@odoo.com>2019-02-21 05:05:40 +0000
committerThibault Delavallée <tde@odoo.com>2019-07-10 15:12:02 +0000
commitd59fd862f1e8dc2663c360194e4e9f1bbf3d7230 (patch)
tree9d445b9923a6026c5ea12fb21a168cdfd11eb454 /addons/auth_signup/data/ir_cron_data.xml
parent41334ca2a5510c934d94da5b9501c8cf4cd38fb3 (diff)
[IMP] auth_signup : send a reminder for pending users
Purpose of this commit is to send a mail template to the user who invited other user(s) in Odoo. It informs the user about the details of user(s) who have been invited by him but have still not registered after the given days of creation (default set to -> 5days) task-1912449 Closes #31582 Signed-off-by: Thibault Delavallee (tde) <tde@openerp.com>
Diffstat (limited to 'addons/auth_signup/data/ir_cron_data.xml')
-rw-r--r--addons/auth_signup/data/ir_cron_data.xml13
1 files changed, 13 insertions, 0 deletions
diff --git a/addons/auth_signup/data/ir_cron_data.xml b/addons/auth_signup/data/ir_cron_data.xml
new file mode 100644
index 00000000000..b583d5e65fd
--- /dev/null
+++ b/addons/auth_signup/data/ir_cron_data.xml
@@ -0,0 +1,13 @@
+<?xml version="1.0" encoding="utf-8"?>
+<odoo>
+ <record id="ir_cron_auth_signup_send_pending_user_reminder" model="ir.cron">
+ <field name="name">Users: Notify About Unregistered Users</field>
+ <field name="model_id" ref="model_res_users"/>
+ <field name="state">code</field>
+ <field name="code">model.send_unregistered_user_reminder()</field>
+ <field name="user_id" ref="base.user_root" />
+ <field name="interval_number">1</field>
+ <field name="interval_type">days</field>
+ <field name="numbercall">-1</field>
+ </record>
+</odoo>