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.

66 lines
2.7 KiB

  1. <?xml version="1.0" encoding="utf-8"?>
  2. <odoo>
  3. <record model="ir.ui.menu" id="menu_database_cleanup">
  4. <field name="name">Database cleanup</field>
  5. <field name="sequence" eval="10" />
  6. <!-- attach to Settings -> Technical -->
  7. <field name="parent_id" ref="base.menu_custom"/>
  8. <field name="groups_id" eval="[(6,0, [ref('base.group_erp_manager')])]"/>
  9. </record>
  10. <record model="ir.ui.menu" id="menu_purge_modules">
  11. <field name="name">Purge obsolete modules</field>
  12. <field name="sequence" eval="10" />
  13. <field name="action" ref="action_purge_modules" />
  14. <field name="parent_id" ref="menu_database_cleanup"/>
  15. </record>
  16. <record model="ir.ui.menu" id="menu_purge_models">
  17. <field name="name">Purge obsolete models</field>
  18. <field name="sequence" eval="20" />
  19. <field name="action" ref="action_purge_models" />
  20. <field name="parent_id" ref="menu_database_cleanup"/>
  21. </record>
  22. <record model="ir.ui.menu" id="menu_purge_columns">
  23. <field name="name">Purge obsolete columns</field>
  24. <field name="sequence" eval="30" />
  25. <field name="action" ref="action_purge_columns" />
  26. <field name="parent_id" ref="menu_database_cleanup"/>
  27. </record>
  28. <record model="ir.ui.menu" id="menu_purge_tables">
  29. <field name="name">Purge obsolete tables</field>
  30. <field name="sequence" eval="40" />
  31. <field name="action" ref="action_purge_tables" />
  32. <field name="parent_id" ref="menu_database_cleanup"/>
  33. </record>
  34. <record model="ir.ui.menu" id="menu_purge_data">
  35. <field name="name">Purge obsolete data entries</field>
  36. <field name="sequence" eval="50" />
  37. <field name="action" ref="action_purge_data" />
  38. <field name="parent_id" ref="menu_database_cleanup"/>
  39. </record>
  40. <record model="ir.ui.menu" id="menu_purge_menus">
  41. <field name="name">Purge obsolete menu entries</field>
  42. <field name="sequence" eval="60" />
  43. <field name="action" ref="action_purge_menus" />
  44. <field name="parent_id" ref="menu_database_cleanup"/>
  45. </record>
  46. <record model="ir.ui.menu" id="menu_create_indexes">
  47. <field name="name">Create missing indexes</field>
  48. <field name="sequence" eval="70" />
  49. <field name="action" ref="cleanup_create_indexes_wizard_action" />
  50. <field name="parent_id" ref="menu_database_cleanup"/>
  51. </record>
  52. <record model="ir.ui.menu" id="menu_purge_property">
  53. <field name="name">Purge obsolete properties</field>
  54. <field name="sequence" eval="80" />
  55. <field name="action" ref="action_purge_property" />
  56. <field name="parent_id" ref="menu_database_cleanup"/>
  57. </record>
  58. </odoo>