<?xml version="1.0" encoding="utf-8"?>
<odoo>
    <record id="bank_statement_extract_view_form_bank_rec_widget" model="ir.ui.view">
        <field name="name">bank.statement.extract.view.form.bank.rec.widget</field>
        <field name="model">account.bank.statement</field>
        <field name="inherit_id" ref="odex30_account_accountant.view_bank_statement_form_bank_rec_widget"/>
        <field name="arch" type="xml">
            <xpath expr="//sheet" position='before'>
                <field name="extract_error_message" invisible="1"/>
                <field name="extract_document_uuid" invisible="1"/>
                <field name="extract_state" class="d-block" invisible="not is_in_extractable_state or extract_state == 'waiting_validation'" widget="extract_state_header"/>
            </xpath>
        </field>
    </record>
</odoo>
