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.

17 lines
716 B

  1. <?xml version="1.0" encoding="utf-8" ?>
  2. <!-- Copyright 2016 ABF OSIELL <http://osiell.com>
  3. License LGPL-3.0 or later (http://www.gnu.org/licenses/lgpl).
  4. -->
  5. <odoo noupdate="1">
  6. <record model="ir.cron" id="cron_update_users">
  7. <field name='name'>Update user roles</field>
  8. <field name='interval_number'>3</field>
  9. <field name='interval_type'>hours</field>
  10. <field name="numbercall">-1</field>
  11. <field name="active">True</field>
  12. <field name="doall" eval="False" />
  13. <field name="model_id" ref="base_user_role.model_res_users_role" />
  14. <field name="state">code</field>
  15. <field name="code">model.cron_update_users()</field>
  16. </record>
  17. </odoo>