<?xml version="1.0" encoding="UTF-8"?>
<odoo>
    <data>
        <record id="action_server_module_multi_uninstall" model="ir.actions.server">
            <field name="name">Uninstall Modules</field>
            <field name="type">ir.actions.server</field>
            <field name="binding_model_id" ref="base.model_ir_module_module" />
            <field name="model_id" ref="base.model_ir_module_module" />
            <field name="state">code</field>
            <field name="code">
                if records:
                records.module_multi_uninstall()
            </field>
        </record>
    </data>
</odoo>
