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.
|
|
<?xml version="1.0" encoding="utf-8"?> <openerp> <data>
<record id="purge_tables_view" model="ir.ui.view"> <field name="name">Form view for purge tables wizard</field> <field name="model">cleanup.purge.wizard.table</field> <field name="arch" type="xml"> <form string="Purge tables" version="7.0"> <h1> <field name="name"/> </h1> <button type="object" name="purge_all" string="Purge all tables" /> <button type="object" name="select_lines" string="Select lines" /> <field name="purge_line_ids" colspan="4" nolabel="1"> <tree string="Purge tables"> <field name="name" /> <field name="purged" invisible="0" /> <button type="object" name="purge" icon="gtk-cancel" string="Purge this table" attrs="{'invisible': [('purged', '=', True)]}"/> </tree> </field> </form> </field> </record>
<record id="action_purge_tables" model="ir.actions.server"> <field name="name">Purge tables</field> <field name="type">ir.actions.server</field> <field name="state">code</field> <field name="model_id" ref="database_cleanup.model_cleanup_purge_wizard_table" /> <field name="code">action = self.get_wizard_action(cr, uid, context=context)</field> </record>
<record id="purge_table_line_tree" model="ir.ui.view"> <field name="model">cleanup.purge.line.table</field> <field name="arch" type="xml"> <tree string="Purge tables"> <field name="name" /> <field name="purged" invisible="0" /> <button type="object" name="purge" icon="gtk-cancel" string="Purge this table" attrs="{'invisible': [('purged', '=', True)]}"/> </tree> </field> </record>
<record id="action_purge_table_line" model="ir.actions.server"> <field name="name">Purge</field> <field name="type">ir.actions.server</field> <field name="state">code</field> <field name="model_id" ref="database_cleanup.model_cleanup_purge_line_table" /> <field name="code">self.purge(cr, uid, context.get('active_ids', []), context)</field> </record>
<record id="action_purge_table_line_value" model="ir.values"> <field name="name">Purge</field> <field name="key">action</field> <field name="key2">client_action_multi</field> <field name="model">cleanup.purge.line.table</field> <field name="value" eval="'ir.actions.server,%d' % ref('database_cleanup.action_purge_table_line')" /> </record> </data> </openerp>
|