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.

19 lines
704 B

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