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.

37 lines
1.6 KiB

  1. <?xml version="1.0" encoding="utf-8"?>
  2. <openerp>
  3. <data>
  4. <record id="purge_data_view" model="ir.ui.view">
  5. <field name="name">Form view for purge data wizard</field>
  6. <field name="model">cleanup.purge.wizard.data</field>
  7. <field name="arch" type="xml">
  8. <form string="Purge data entries that refer to missing resources" version="7.0">
  9. <h1>
  10. <field name="name"/>
  11. </h1>
  12. <button type="object" name="purge_all" string="Purge all data" />
  13. <field name="purge_line_ids" colspan="4" nolabel="1">
  14. <tree string="Purge data">
  15. <field name="name" />
  16. <field name="data_id" />
  17. <field name="purged" invisible="0" />
  18. <button type="object" name="purge"
  19. icon="gtk-cancel" string="Purge this data"
  20. attrs="{'invisible': [('purged', '=', True)]}"/>
  21. </tree>
  22. </field>
  23. </form>
  24. </field>
  25. </record>
  26. <record id="action_purge_data" model="ir.actions.act_window">
  27. <field name="name">Purge data entries that refer to missing resources</field>
  28. <field name="type">ir.actions.act_window</field>
  29. <field name="res_model">cleanup.purge.wizard.data</field>
  30. <field name="view_type">form</field>
  31. <field name="view_mode">form</field>
  32. </record>
  33. </data>
  34. </openerp>