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.

57 lines
2.6KB

  1. <?xml version="1.0" encoding="utf-8" ?>
  2. <!--
  3. Copyright (C) 2016-Today: Odoo Community Association (OCA)
  4. @author: Sylvain LE GAL (https://twitter.com/legalsylvain)
  5. License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
  6. -->
  7. <odoo noupdate="1">
  8. <record model="ir.cron" id="cron_update_organization">
  9. <field name="name">Synchronize All Organizations and Teams</field>
  10. <field name="interval_number">1</field>
  11. <field name="active" eval="False" />
  12. <field name="user_id" ref="base.user_root" />
  13. <field name="interval_type">days</field>
  14. <field name="numbercall">-1</field>
  15. <field name="doall" eval="False" />
  16. <field name="state">code</field>
  17. <field name="model_id" ref="model_github_organization" />
  18. <field name="code">model.cron_update_organization_team()</field>
  19. </record>
  20. <record model="ir.cron" id="cron_update_branch_list">
  21. <field name="name">Synchronize Branches List for All Repositories</field>
  22. <field name="interval_number">1</field>
  23. <field name="active" eval="False" />
  24. <field name="user_id" ref="base.user_root" />
  25. <field name="interval_type">days</field>
  26. <field name="numbercall">-1</field>
  27. <field name="doall" eval="False" />
  28. <field name="state">code</field>
  29. <field name="model_id" ref="model_github_repository" />
  30. <field name="code">model.cron_update_branch_list()</field>
  31. </record>
  32. <record model="ir.cron" id="cron_download_code">
  33. <field name="name">Download Source Code for All Github Branches</field>
  34. <field name="interval_number">1</field>
  35. <field name="active" eval="False" />
  36. <field name="user_id" ref="base.user_root" />
  37. <field name="interval_type">days</field>
  38. <field name="numbercall">-1</field>
  39. <field name="doall" eval="False" />
  40. <field name="state">code</field>
  41. <field name="model_id" ref="model_github_repository_branch" />
  42. <field name="code">model.cron_download_all()</field>
  43. </record>
  44. <record model="ir.cron" id="cron_analyze_code">
  45. <field name="name">Analyze Source Code for All Github Branches</field>
  46. <field name="interval_number">1</field>
  47. <field name="active" eval="False" />
  48. <field name="user_id" ref="base.user_root" />
  49. <field name="interval_type">days</field>
  50. <field name="numbercall">-1</field>
  51. <field name="doall" eval="False" />
  52. <field name="state">code</field>
  53. <field name="model_id" ref="model_github_repository_branch" />
  54. <field name="code">model.cron_analyze_all()</field>
  55. </record>
  56. </odoo>
上海开阖软件有限公司 沪ICP备12045867号-1