<?xml version="1.0"?>
<form string="Privacy Lookup">
                <header>
                    <button string="Lookup" name="action_lookup" type="object" class="oe_highlight" data-hotkey="q" attrs="{'invisible': [('line_ids', '!=', [])]}"/>
                </header>
                <sheet>
                    <div class="oe_button_box" name="button_box">
                        <button name="action_open_lines" type="object" class="oe_stat_button" icon="fa-file-text-o">
                            <field name="line_count" string="References" widget="statinfo"/>
                        </button>
                    </div>
                    <group>
                        <group>
                            <field name="email" attrs="{'readonly': [('line_ids', '!=', [])]}"/>
                            <field name="name" attrs="{'readonly': [('line_ids', '!=', [])]}"/>
                            <field name="records_description" invisible="1"/>
                            <field name="execution_details" attrs="{'invisible': [('execution_details', '=', '')]}"/>
                            <field name="log_id" invisible="1"/>
                        </group>
                        <field name="line_ids" attrs="{'invisible': [('line_ids', '=', [])]}" options="{'no_open': True, 'no_create': True}" invisible="1"/>
                    </group>
                </sheet>
           </form>
        