summaryrefslogtreecommitdiff
path: root/addons/maintenance/data/maintenance_cron.xml
diff options
context:
space:
mode:
authorJosse Colpart <jco@odoo.com>2015-11-12 09:44:58 +0100
committerThibault Delavallée <tde@openerp.com>2016-07-04 16:22:37 +0200
commit9a20c6556f4d52cccd0a0ba4a36a2e51c239d7f4 (patch)
tree2c71ad623ce14b4c56658d75dc43881da50a58a0 /addons/maintenance/data/maintenance_cron.xml
parente7ef6e069c7eaba82cc62170b6c7ca05007512b7 (diff)
[REF] (hr_)maintenance
- rename models from hr.equipment.something to maintenance.something - add concept of maintenance team and dashboard - remove generic alias for maintenance
Diffstat (limited to 'addons/maintenance/data/maintenance_cron.xml')
-rw-r--r--addons/maintenance/data/maintenance_cron.xml13
1 files changed, 13 insertions, 0 deletions
diff --git a/addons/maintenance/data/maintenance_cron.xml b/addons/maintenance/data/maintenance_cron.xml
new file mode 100644
index 00000000000..141ae9757c3
--- /dev/null
+++ b/addons/maintenance/data/maintenance_cron.xml
@@ -0,0 +1,13 @@
+<?xml version="1.0" encoding='UTF-8'?>
+<odoo>
+ <record model="ir.cron" id="maintenance_requests_cron">
+ <field name="name">Generate preventive maintenance requests</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" eval="'maintenance.equipment'"/>
+ <field name="function" eval="'_cron_generate_requests'"/>
+ <field name="args" eval="'()'" />
+ </record>
+</odoo> \ No newline at end of file