<?xml version="1.0"?>
<form string="Fiscal Position">
                    <div groups="account.group_account_manager" class="alert alert-info" role="alert" invisible="not foreign_vat_header_mode">
                        <div invisible="foreign_vat_header_mode not in ('templates_found', 'no_template')">
                            Click
                            <button string="here" type="object" name="action_create_foreign_taxes" class="oe_link p-0 align-baseline"/>
                            to create the taxes for this country.
                        </div>
                    </div>

                    <sheet>
                    <div class="oe_button_box" name="button_box">
                        <button class="oe_stat_button" name="action_open_related_taxes" type="object" icon="fa-bars" invisible="not tax_ids">
                            <div class="o_stat_info">
                                <span class="o_stat_text">
                                    Taxes
                                </span>
                            </div>
                        </button>
                    </div>
                    <widget name="web_ribbon" title="Archived" bg_color="text-bg-danger" invisible="active"/>
                    <group>
                        <group>
                            <field name="active" invisible="1"/>
                            <field name="company_id" invisible="1"/>
                            <field name="states_count" invisible="1"/>
                            <field name="company_country_id" invisible="1"/>
                            <field name="fiscal_country_codes" invisible="1"/>
                            <field name="foreign_vat_header_mode" invisible="1"/>
                            <field name="name"/>
                            <field name="company_id" options="{'no_create': True}" groups="base.group_multi_company"/>
                        </group>
                        <group>
                            <field name="auto_apply"/>
                            <field name="vat_required" invisible="not auto_apply"/>
                            <field name="foreign_vat"/>
                            <field name="country_group_id" invisible="not auto_apply"/>
                            <field name="country_id" required="foreign_vat" options="{'no_open': True, 'no_create': True}"/>
                            <field name="state_ids" widget="many2many_tags" domain="[('country_id', '=', country_id)]" invisible="(not auto_apply and not foreign_vat) or not country_id or states_count == 0"/>
                            <label for="zip_from" string="Zip Range" invisible="not auto_apply or not country_id"/>
                            <div invisible="not auto_apply or not country_id">
                                <span> From </span>
                                <field name="zip_from" class="oe_inline"/>
                                <div class="oe_edit_only"/>
                                <span> To </span>
                                <field name="zip_to" class="oe_inline"/>
                            </div>
                        </group>
                    </group>
                    <notebook>
                        <page name="account_mapping" string="Account Mapping" groups="account.group_account_readonly">
                            <field name="account_ids" widget="one2many" nolabel="1">
                                <list string="Account Mapping" editable="bottom">
                                    <field name="account_src_id" domain="['|', ('company_ids', '=', parent.company_id), ('account_type', '!=', 'off_balance')]"/>
                                    <field name="account_dest_id" domain="['|', ('company_ids', '=', parent.company_id), ('account_type', '!=', 'off_balance')]"/>
                                </list>
                                <form string="Account Mapping">
                                    <field name="account_src_id" domain="['|', ('company_ids', '=', parent.company_id), ('account_type', '!=', 'off_balance')]"/>
                                    <field name="account_dest_id" domain="['|', ('company_ids', '=', parent.company_id), ('account_type', '!=', 'off_balance')]"/>
                                </form>
                            </field>
                        </page>
                    </notebook>
                    <field name="note" class="oe-bordered-editor" placeholder="Legal Notes..."/>
                    </sheet>
                </form>
            