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.5 KiB
37 lines
1.5 KiB
<?xml version="1.0" encoding="utf-8"?>
|
|
<openerp>
|
|
<data>
|
|
|
|
<record id="purge_data_view" model="ir.ui.view">
|
|
<field name="name">Form view for purge data wizard</field>
|
|
<field name="model">cleanup.purge.wizard.data</field>
|
|
<field name="arch" type="xml">
|
|
<form string="Purge data" version="7.0">
|
|
<h1>
|
|
<field name="name"/>
|
|
</h1>
|
|
<button type="object" name="purge_all" string="Purge all data" />
|
|
<field name="purge_line_ids" colspan="4" nolabel="1">
|
|
<tree string="Purge data">
|
|
<field name="name" />
|
|
<field name="model_id" />
|
|
<field name="purged" invisible="0" />
|
|
<button type="object" name="purge"
|
|
icon="gtk-cancel" string="Purge this data"
|
|
attrs="{'invisible': [('purged', '=', True)]}"/>
|
|
</tree>
|
|
</field>
|
|
</form>
|
|
</field>
|
|
</record>
|
|
|
|
<record id="action_purge_data" model="ir.actions.act_window">
|
|
<field name="name">Purge data</field>
|
|
<field name="type">ir.actions.act_window</field>
|
|
<field name="res_model">cleanup.purge.wizard.data</field>
|
|
<field name="view_type">form</field>
|
|
<field name="view_mode">form</field>
|
|
</record>
|
|
|
|
</data>
|
|
</openerp>
|