<?xml version="1.0"?>
<tree editable="top" create="1" delete="1" multi_edit="1" string="Chart of accounts">
                    <field name="company_id" invisible="1"/>
                    <field name="code"/>
                    <field name="name"/>
                    <field name="account_type" widget="account_type_selection"/>
                    <field name="group_id" optional="hide"/>
                    <field name="internal_group" invisible="1"/>
                    <field name="reconcile" widget="boolean_toggle" attrs="{'invisible': ['|', ('account_type', 'in', ('asset_cash', 'liability_credit_card')), ('internal_group', '=', 'off_balance')]}"/>
                    <field name="non_trade" widget="boolean_toggle" attrs="{'invisible': [('account_type', 'not in', ('liability_payable', 'asset_receivable'))]}" optional="hide"/>
                    <field name="tax_ids" optional="hide" widget="many2many_tags"/>
                    <field name="tag_ids" domain="[('applicability', '=', 'accounts')]" optional="hide" widget="many2many_tags"/>
                    <field name="allowed_journal_ids" optional="hide" widget="many2many_tags"/>
                    <field name="currency_id" options="{'no_create': True}" groups="base.group_multi_currency"/>
                    <field name="company_id" options="{'no_create': True}" groups="base.group_multi_company"/>
                    <button name="action_read_account" type="object" string="Setup" class="float-end btn-secondary"/>
                </tree>
            