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.

27 lines
921 B

  1. <?xml version="1.0" encoding="UTF-8" ?>
  2. <odoo>
  3. <!--
  4. Copyright 2018 Brainbean Apps (https://brainbeanapps.com)
  5. License LGPL-3.0 or later (https://www.gnu.org/licenses/lgpl).
  6. -->
  7. <record id="ir_module_module_upgrade_changed_checksum" model="ir.actions.server">
  8. <field name="name">Auto-Upgrade Modules</field>
  9. <field name="type">ir.actions.server</field>
  10. <field name="model_id" ref="base.model_ir_module_module"/>
  11. <field name="state">code</field>
  12. <field name="code">
  13. action = model.upgrade_changed_checksum()
  14. </field>
  15. </record>
  16. <menuitem
  17. name="Auto-Upgrade Modules"
  18. action="ir_module_module_upgrade_changed_checksum"
  19. id="menu_ir_module_module_upgrade_changed_checksum"
  20. groups="base.group_no_one"
  21. parent="base.menu_management"
  22. sequence="45"
  23. icon="fa-exchange"/>
  24. </odoo>