<?xml version="1.0" ?>
<!--
  Copyright 2022 Akretion France (http://www.akretion.com/)
  @author: Alexis de Lattre <alexis.delattre@akretion.com>
  Licence LGPL-3.0 or later (https://www.gnu.org/licenses/lgpl-3.0).
-->
<odoo>

<record id="view_bank_statement_line_form" model="ir.ui.view">
    <field name="model">account.bank.statement.line</field>
    <field name="inherit_id" ref="account.view_bank_statement_line_form" />
    <field name="arch" type="xml">
        <field name="statement_id" position="attributes">
            <attribute
                    name="invisible"
                >not context.get('statement_line_main_view')</attribute>
        </field>
        <xpath expr="//field[@name='company_id']/.." position="attributes">
            <attribute name="col">2</attribute>
        </xpath>
        <field name="sequence" position="attributes">
            <attribute name="invisible">1</attribute>
        </field>
        <field name="narration" position="attributes">
            <attribute name="invisible">1</attribute>
        </field>
        <field name="transaction_type" position="after">
            <field name="partner_bank_id" />
        </field>
        <sheet position="inside">
            <notebook>
                <page name="narration" string="Notes">
                    <field name="narration" nolabel="1" />
                </page>
                <page name="technical" string="Technical Information">
                    <group name="tech-fields">
                        <field name="unique_import_id" />
                        <field name="partner_name" />
                        <field name="account_number" />
                        <field name="is_reconciled" />
                    </group>
                    <group name="raw_data" string="Raw Data">
                        <field name="raw_data" nolabel="1" />
                    </group>
                </page>
            </notebook>
        </sheet>
    </field>
</record>

</odoo>
