You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

30 lines
1.4 KiB

  1. <odoo>
  2. <data noupdate="1">
  3. <record id="ir_cron_generate_attendance_sheet" model="ir.cron">
  4. <field name="name">Generate Attendance Sheets</field>
  5. <field name="model_id" ref="model_beesdoo_shift_sheet"/>
  6. <field name="state">code</field>
  7. <field name="code">model._generate_attendance_sheet()</field>
  8. <field name="user_id" ref="base.user_root"/>
  9. <field name="interval_number">4</field>
  10. <field name="interval_type">minutes</field>
  11. <field name="numbercall">-1</field>
  12. <field name="doall" eval="False"/>
  13. <field name="active" eval="False"/>
  14. </record>
  15. <record id="ir_cron_check_non_validated_sheet" model="ir.cron">
  16. <field name="name">Check for non-validated sheets</field>
  17. <field name="model_id" ref="model_beesdoo_shift_sheet"/>
  18. <field name="state">code</field>
  19. <field name="code">model._cron_non_validated_sheets()</field>
  20. <field name="interval_number">1</field>
  21. <field name="interval_type">days</field>
  22. <field name="numbercall">-1</field>
  23. <field name="doall" eval="False"/>
  24. <field name="nextcall"
  25. eval="datetime.now().replace(hour=00, minute=00, second=10)"/>
  26. <field name="active" eval="False"/>
  27. </record>
  28. </data>
  29. </odoo>