summaryrefslogtreecommitdiff
path: root/hr_employee_updation/views/hr_notification.xml
diff options
context:
space:
mode:
authorstephanchrst <stephanchrst@gmail.com>2022-05-10 17:14:58 +0700
committerstephanchrst <stephanchrst@gmail.com>2022-05-10 17:14:58 +0700
commit1ca3b3df3421961caec3b747a364071c80f5c7da (patch)
tree6778a1f0f3f9b4c6e26d6d87ccde16e24da6c9d6 /hr_employee_updation/views/hr_notification.xml
parentb57188be371d36d96caac4b8d65a40745c0e972c (diff)
initial commit
Diffstat (limited to 'hr_employee_updation/views/hr_notification.xml')
-rw-r--r--hr_employee_updation/views/hr_notification.xml15
1 files changed, 15 insertions, 0 deletions
diff --git a/hr_employee_updation/views/hr_notification.xml b/hr_employee_updation/views/hr_notification.xml
new file mode 100644
index 0000000..3dbfa7d
--- /dev/null
+++ b/hr_employee_updation/views/hr_notification.xml
@@ -0,0 +1,15 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<odoo>
+ <data>
+ <record model="ir.cron" id="employee_data_reminder">
+ <field name="name">HR Employee Data Expiration</field>
+ <field name="interval_number">1</field>
+ <field name="interval_type">days</field>
+ <field name="numbercall">-1</field>
+ <field name="doall" eval="False"/>
+ <field name="model_id" ref="model_hr_employee"/>
+ <field name="state">code</field>
+ <field name="code">model.mail_reminder()</field>
+ </record>
+ </data>
+</odoo>