|
@ -25,12 +25,24 @@ |
|
|
</field> |
|
|
</field> |
|
|
</record> |
|
|
</record> |
|
|
|
|
|
|
|
|
<record id="action_purge_data" model="ir.actions.act_window"> |
|
|
|
|
|
|
|
|
<record id="action_purge_data" model="ir.actions.server"> |
|
|
<field name="name">Purge data entries that refer to missing resources</field> |
|
|
<field name="name">Purge data entries that refer to missing resources</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> |
|
|
|
|
|
|
|
|
<field name="type">ir.actions.server</field> |
|
|
|
|
|
<field name="state">code</field> |
|
|
|
|
|
<field name="model_id" ref="database_cleanup.model_cleanup_purge_wizard_data" /> |
|
|
|
|
|
<field name="code"> |
|
|
|
|
|
wizard_id = self.create(cr, uid, {}, context=context) |
|
|
|
|
|
action = { |
|
|
|
|
|
'type': 'ir.actions.act_window', |
|
|
|
|
|
'views': [(False, 'form')], |
|
|
|
|
|
'res_model': 'cleanup.purge.wizard.data', |
|
|
|
|
|
'res_id': wizard_id, |
|
|
|
|
|
'flags': { |
|
|
|
|
|
'action_buttons': False, |
|
|
|
|
|
'sidebar': False, |
|
|
|
|
|
}, |
|
|
|
|
|
} |
|
|
|
|
|
</field> |
|
|
</record> |
|
|
</record> |
|
|
|
|
|
|
|
|
</data> |
|
|
</data> |
|
|