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.

70 lines
3.0 KiB

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