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.

55 lines
2.2 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. </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. </data>
  47. </openerp>