<?xml version="1.0"?>
<tree create="0">
                <field name="res_model_id"/>
                <field name="res_name" invisible="1"/>
                <field name="res_model" invisible="1"/>
                <field name="resource_ref" options="{'model_field': 'res_model_id', 'no_create': True}" attrs="{'invisible': [('resource_ref', '=', False)]}"/>
                <button name="action_open_record" type="object" icon="fa-external-link" attrs="{'invisible': [('resource_ref', '=', False)]}" title="Open Record"/>
                <field name="res_id" string="ID"/>
                <field name="has_active" invisible="1"/>
                <field name="execution_details" invisible="1"/>
                <field name="is_active" widget="boolean_toggle" attrs="{'invisible': ['|', ('is_unlinked', '=', True), ('has_active', '=', False)]}"/>
                <field name="is_unlinked" invisible="True"/>
                <button name="action_unlink" string="Delete" type="object" icon="fa-trash" attrs="{'invisible': [('is_unlinked', '=', True)]}" confirm="This operation is irreversible. Do you wish to proceed to the record deletion ?"/>
            </tree>
        