<?xml version="1.0"?>
<form string="Analytic Plans">
                <sheet>
                    <div class="oe_button_box" name="button_box">
                        <button name="action_view_children_plans" type="object" class="oe_stat_button" icon="fa-bars">
                            <field string="Subplans" name="children_count" widget="statinfo"/>
                        </button>
                        <button name="action_view_analytical_accounts" type="object" class="oe_stat_button" icon="fa-bars">
                            <div class="o_field_widget o_stat_info">
                                <span class="o_stat_value"><field name="all_account_count"/></span>
                                <span class="o_stat_text">Analytic Accounts</span>
                            </div>
                        </button>
                    </div>
                    <div class="oe_title">
                        <h1>
                            <field name="name"/>
                        </h1>
                    </div>
                    <group>
                        <group>
                            <field name="parent_id"/>
                            <field name="default_applicability" invisible="parent_id" required="True"/>
                        <field name="color" widget="color_picker"/>
                        </group>
                        <group>
                        </group>
                    </group>

                    <notebook>
                        <page string="Applicability" name="applicability" invisible="parent_id">
                            <field name="applicability_ids">
                                <list editable="bottom">
                                    <field name="business_domain"/>
                                    <field name="company_id" groups="base.group_multi_company"/>
                                    <field name="applicability"/>
                                </list>
                            </field>
                        </page>
                    </notebook>
                </sheet>
            </form>
        