flectra/addons/maintenance/data/maintenance_cron.xml

13 lines
578 B
XML
Raw Normal View History

<?xml version="1.0" encoding='UTF-8'?>
2018-01-16 11:34:37 +01:00
<flectra>
<record model="ir.cron" id="maintenance_requests_cron">
<field name="name">Maintenance: generate preventive maintenance requests</field>
<field name="model_id" ref="model_maintenance_equipment"/>
<field name="state">code</field>
<field name="code">model._cron_generate_requests()</field>
<field name="interval_number">1</field>
<field name="interval_type">days</field>
<field name="numbercall">-1</field>
<field name="doall" eval="False"/>
</record>
2018-01-16 11:34:37 +01:00
</flectra>