<odoo>
    <data>
        <!-- institutions category -->
        <record id="view_benefit_category_form" model="ir.ui.view">
            <field name="name">benefit.category.form</field>
            <field name="model">benefit.category</field>
            <field name="arch" type="xml">
                <form string="Category">
                    <sheet>
                        <div class="oe_button_box" name="button_box">
                            <button name="open_benefits"
                                    type="object" class="oe_stat_button" icon="fa-users">
                                <field string="Benefits" name="benefits_total" widget="statinfo"/>
                            </button>
                        </div>
                        <div class="oe_title">
                            <h1>
                                <field placeholder="Name" name="name"
                                       class="oe_inline" required="1"/>
                            </h1>
                        </div>
                        <group col="4" colspan="2">
                            <field name="mini_income_amount"/>
                            <field name="max_income_amount"/>
                        </group>
                        <group>
                            <group>
                                <field name="is_benefit" string="Is Benefit" widget="boolean_toggle"/>
                            </group>
                            <group>
                                <field name="decoration_color"/>
                            </group>
                        </group>
                        <group invisible="1">
                            <field name="expenses_ids">
                                <tree editable="bottom">
                                    <field name="category_id" invisible="1"/>
                                    <field name="expenses_type"/>
                                    <field name="amount" sum="amount"/>
                                </tree>
                            </field>
                        </group>
                    </sheet>
                </form>
            </field>
        </record>
        <record id="view_benefit_category_tree" model="ir.ui.view">
            <field name="name">benefit.category.tree</field>
            <field name="model">benefit.category</field>
            <field name="arch" type="xml">
                <tree string="Beneficiaries Category" default_order="create_date">
                    <field name="name"/>
                    <field name="mini_income_amount"/>
                    <field name="max_income_amount"/>
                    <field name="is_benefit" string="Is Benefit" widget="boolean_toggle"/>
                </tree>
            </field>
        </record>
        <!-- family category -->
        <record id="view_benefit_family_form" model="ir.ui.view">
            <field name="name">benefit.family.form</field>
            <field name="model">benefit.family</field>
            <field name="arch" type="xml">
                <form string="Benefit Family">
                    <sheet>
                        <div class="oe_button_box" name="button_box">
                            <button name="open_benefits"
                                    type="object" class="oe_stat_button" icon="fa-users">
                                <field string="Benefits" name="benefits_total" widget="statinfo" force_save="1"/>
                            </button>
                        </div>
                        <group col="4" colspan="2">
                            <field name="name"/>
                            <field name="responsible_benefit_id"/>
                            <field name="housing_id"/>
                            <field name="description"/>
                            <field name="is_producer" widget="boolean_toggle"/>
                            <field name="total_expenses"/>
                            <field name="total_income"/>
                            <field name="benefits_total" force_save="1"/>
                            <!--                            <field name="benefit_needs_percent"/>-->

                        </group>
                        <notebook>
                            <page string="members">
                                <group>
                                    <field name="benefit_ids">
                                        <tree default_order="age">
                                            <field name="name"/>
                                            <field name="age"/>
                                            <field name="total_expenses" sum="total_expenses"/>
                                            <field name="total_income" sum="total_income"/>
                                            <!--                                            <field name="benefit_needs_percent" avg="benefit_needs_percent"/>-->
                                            <field name="is_responsible" widget="boolean_toggle"/>
                                        </tree>
                                    </field>
                                </group>
                            </page>
                            <!--                            <page string="loans">-->
                            <!--                                <group >-->
                            <!--                                    <field name="loan_ids">-->
                            <!--                                        <tree>-->
                            <!--                                            <field -->
                            <!--                                        </tree>-->
                            <!--                                    </field>-->
                            <!--                                </group>-->
                            <!--                            </page>-->
                        </notebook>
                    </sheet>
                </form>
            </field>
        </record>
        <record id="view_benefit_family_tree" model="ir.ui.view">
            <field name="name">benefit.family.tree</field>
            <field name="model">benefit.family</field>
            <field name="arch" type="xml">
                <tree string="Beneficiaries family" default_order="create_date">
                    <field name="name"/>
                    <field name="responsible_benefit_id"/>
                    <field name="housing_id"/>
                    <field name="is_producer"/>
                    <field name="benefits_total"/>
                </tree>
            </field>
        </record>
        <!-- NeedsCategories -->
        <record id="view_needs_categories_form" model="ir.ui.view">
            <field name="name">needs.categories.form</field>
            <field name="model">needs.categories</field>
            <field name="arch" type="xml">
                <form string="Needs Categories">
                    <sheet>
                        <group col="4" colspan="2">
                            <field name="name"/>
                            <field name="description"/>
                        </group>
                        <group>
                            <field name="product_ids">
                                <tree editable="bottom">
                                    <field name="name"/>
                                    <field name="price" sum="price"/>
                                </tree>
                            </field>
                        </group>
                    </sheet>
                </form>
            </field>
        </record>
        <record id="view_needs_categories_tree" model="ir.ui.view">
            <field name="name">needs.categories.tree</field>
            <field name="model">needs.categories</field>
            <field name="arch" type="xml">
                <tree string="Needs Categories">
                    <field name="name"/>
                    <field name="description"/>
                    <field name="product_ids" widget="many2many_tags"/>
                </tree>
            </field>
        </record>
        <!-- Benefits Needs -->
        <record id="view_benefits_needs_form" model="ir.ui.view">
            <field name="name">Benefits.needs.form</field>
            <field name="model">benefits.needs</field>
            <field name="arch" type="xml">
                <form string="Benefits Needs">
                    <header>
                        <button name="action_submit" type="object" states="draft"
                                string="submit" class="oe_highlight"/>
                        <button name="action_approve" type="object"
                                string="Accept" class="oe_highlight"
                                confirm="Are you sure you want to accept  ?"
                                states="sent"/>
                        <button name="action_review" type="object"
                                string="review" class="oe_highlight"
                                confirm="Are you sure you want to review?"
                                states="sent"/>
                        <button name="action_published" type="object"
                                string="published" class="oe_highlight"
                                confirm="Are you sure you want to published?"
                                states="approve"/>
                        <button name="action_refused" type="object"
                                string="refused" class="oe_highlight"
                                confirm="Are you sure you want to refused?"
                                states="approve"/>
                        <button name="action_done" type="object" states="waiting_delivery"
                                string="Done" class="oe_highlight"/>
                        <field name="state" widget="statusbar"/>
                    </header>
                    <sheet>
                        <group>
                            <group>
                                <field name="name"/>
                                <field name="benefit_need_type"/>
                                <field name="benefit_id"
                                       attrs="{'invisible':['|',('benefit_need_type','=','general'),('benefit_need_type','=',False)]}"/>
                                <field name="benefit_type"/>
                            </group>
                            <group>
                                <field name="need_status"/>
                                <field name="need_category"/>
                                <field name="date"/>
                                <field name="city_id"/>
                                <field name="description"/>
                                <field name="need_attach"/>
                            </group>
                        </group>
                        <group>
                            <group col="4">
                                <field name="target_amount"/>
                                <field name="paid_amount"/>
                                <field name="remaining_amount"/>
                                <field name="completion_ratio"/>
                            </group>
                        </group>
                        <notebook>
                            <page string="Benefits and needs">
                                <group>
                                    <field name="benefit_ids" string="Benefits"
                                           attrs="{'invisible':['|',('benefit_need_type','=','special'),('benefit_need_type','=',False)]}">
                                        <tree editable="bottom">
                                            <field name="name"/>
                                            <field name="benefit_type"/>
                                        </tree>
                                    </field>
                                </group>
                                <group>
                                    <field name="need_type_ids">
                                        <tree editable="bottom">
                                            <field name="name"/>
                                            <field name="lst_price" sum="total"/>
                                            <field name="qty_available"/>
                                        </tree>
                                    </field>
                                </group>
                            </page>
                            <page string="Payments">
                                <group>
                                    <field name="payments_ids" decoration-danger="state=='draft'"
                                           decoration-success="state=='paid'">
                                        <tree editable="bottom">
                                            <field name="need_id" invisible="1"/>
                                            <field name="invoice_id"/>
                                            <field name="partner_id"/>
                                            <field name="amount" sum="amount"/>
                                            <field name="date"/>
                                            <field name="state"/>
                                            <field name="currency_id" invisible="1"/>
                                        </tree>
                                    </field>
                                </group>
                            </page>
                        </notebook>
                    </sheet>
                </form>
            </field>
        </record>
        <record id="view_districts_form" model="ir.ui.view">
            <field name="name">res.districts.form</field>
            <field name="model">res.districts</field>
            <field name="arch" type="xml">
                <form string="Districts">
                    <sheet>
                        <group>
                            <field name="name"/>
                            <field name="city_id"/>
                            <field name="branch_custom_id"/>
                            <field name="meal_card"/>
                        </group>
                    </sheet>
                </form>
            </field>
        </record>
        <record id="view_benefits_needs_tree" model="ir.ui.view">
            <field name="name">benefits.needs.tree</field>
            <field name="model">benefits.needs</field>
            <field name="arch" type="xml">
                <tree string="benefits Needs">
                    <field name="name"/>
                    <field name="benefit_type"/>
                    <field name="need_status"/>
                    <field name="target_amount"/>
                    <field name="completion_ratio"/>
                </tree>
            </field>
        </record>

        <!-- Housing -->
        <record id="view_benefit_housing_form" model="ir.ui.view">
            <field name="name">benefit housing form</field>
            <field name="model">benefit.housing</field>
            <field name="arch" type="xml">
                <form string="Housing">
                    <sheet>
                        <div class="oe_button_box" name="button_box">
                            <button name="open_benefits"
                                    type="object" class="oe_stat_button" icon="fa-users">
                                <field string="Benefits" name="benefits_total" widget="statinfo"/>
                            </button>
                            <button name="open_rooms"
                                    type="object" class="oe_stat_button" icon="fa-home">
                                <field string="Rooms" name="rooms_number" widget="statinfo"/>
                            </button>
                        </div>
                        <div class="oe_title">
                            <h1>
                                <field placeholder="Name" name="name" class="oe_inline" readonly="1" force_save="1"/>
                            </h1>
                        </div>
                        <group>
                            <group>
                                <!--                                <field name="name" required="True"/>-->
                                <button name="open_map" string="Map" type="object" class="oe_highlight"/>
                                <field name="city_id" required="1"/>
                                <field name="block" required="1"/>
                                <field name="house_number" required="1"/>
                                <field name="street" required="1"/>
                                <field name="lat"/>
                                <field name="lon"/>
                                <field name="street" required="1"/>
                                <field name="floor"/>
                                <field name="housing_number" required="1"/>
                            </group>
                            <group>
                                <field name="nearby_mosque"/>
                                <field name="housing_note"/>
                                <field name="note_neighborhood"/>
                                <field name="housing_type"/>
                                <field name="housing_cat"/>
                                <field name="rent_amount"/>
                                <field name="property_type"/>
                                <field name="rooms_number"/>
                            </group>
                        </group>
                        <notebook>
                            <page string="family and members">
                                <group>
                                    <field name="family_ids">
                                        <tree editable="bottom">
                                            <field name="name"/>
                                            <field name="benefits_total" sum="benefits_expenses"/>
                                            <field name="total_expenses" sum="total_expenses"/>
                                            <field name="total_income" sum="total_income"/>
                                        </tree>
                                    </field>
                                </group>
                                <group>
                                    <field name="benefit_ids" string="members">
                                        <tree default_order="is_responsible desc">
                                            <field name="name"/>
                                            <field name="family_id"/>
                                            <field name="is_responsible" widget="boolean_toggle" readonly="1"/>
                                            <field name="total_expenses" sum="total_expenses"/>
                                            <field name="total_income" sum="total_income"/>
                                        </tree>
                                    </field>
                                </group>
                            </page>
                            <page string="amount">
                                <group>
                                    <field name="total_income"/>
                                    <field name="total_expenses"/>
                                    <field name="total_net"/>
                                    <field name="financial_aid"/>
                                </group>
                            </page>
                            <page string="image">
                                <group>
                                    <group>
                                        <field name="image" widget="image"/>
                                        <field name="image_1" widget="image"/>
                                    </group>
                                    <group>
                                        <field name="image_2" widget="image"/>
                                        <field name="image_3" widget="image"/>
                                    </group>
                                </group>
                            </page>
                        </notebook>
                    </sheet>
                </form>
            </field>
        </record>
        <!--        <record id="grant_benefit_tree" model="ir.ui.view">-->
        <!--            <field name="name">grant.benefit.tree</field>-->
        <!--            <field name="model">grant.benefit</field>-->
        <!--            <field name="arch" type="xml">-->
        <!--                <tree string="Benefit" default_order="create_date">-->
        <!--                    &lt;!&ndash;                    <field name="code"/>&ndash;&gt;-->
        <!--                    <field name="name"/>-->
        <!--                    <field name="email"/>-->
        <!--                    <field name="phone"/>-->
        <!--                    <field name="state"/>-->
        <!--                </tree>-->
        <!--            </field>-->
        <!--        </record>-->
        <!-- Rooms tree -->
        <record id="housing_rooms_tree" model="ir.ui.view">
            <field name="name">housing_rooms_tree</field>
            <field name="model">benefit.housing.rooms</field>
            <field name="arch" type="xml">
                <tree string="Rooms" default_order="create_date">
                    <field name="housing_id" invisible="1"/>
                    <field name="rooms_type"/>
                    <field name="rooms_categories_id"/>
                    <field name="room_ribs"/>
                    <field name="room_space"/>
                    <field name="room_condition"/>
                </tree>
            </field>
        </record>
        <!-- Rooms form -->
        <record id="housing_rooms_form" model="ir.ui.view">
            <field name="name">Odex - Rooms form</field>
            <field name="model">benefit.housing.rooms</field>
            <field name="arch" type="xml">
                <form string="Rooms">
                    <sheet>
                        <group>
                            <group>
                                <field name="housing_id" invisible="1"/>
                                <field name="rooms_type"/>
                                <field name="rooms_categories_id"/>
                                <field name="room_ribs"/>
                                <field name="width"/>
                                <field name="length"/>
                            </group>
                            <group>
                                <field name="room_space"/>
                                <field name="room_condition"/>
                            </group>
                        </group>
                        <group>
                            <field name="members_ids">
                                <tree editable="bottom" decoration-warning="is_accept==False"
                                      decoration-success="is_accept==True" options="{'limit':5}">
                                    <field name="room_id" invisible="1"/>
                                    <field name="is_accept" force_save="1" store="1"/>
                                    <field name="benefit_id"/>
                                    <field name="gender" string="accept" readonly="1"
                                           attrs="{'invisible':[('is_accept','=',False)]}"/>
                                    <field name="gender" style="color:red;" readonly="1"
                                           attrs="{'invisible':[('is_accept','=',True)]}"/>
                                    <field name="age" avg="avg age" readonly="1"/>
                                </tree>
                            </field>
                        </group>
                        <group>
                            <field name="items">
                                <tree editable="top">
                                    <field name="room_id" invisible="1"/>
                                    <field name="item"/>
                                    <field name="percentage"/>
                                    <field name="status"/>
                                </tree>
                            </field>
                        </group>
                    </sheet>
                </form>
            </field>
        </record>
        <!-- Rooms Type form -->
        <record id="housing_rooms_Type_form" model="ir.ui.view">
            <field name="name">Odex - Rooms Type form</field>
            <field name="model">housing.rooms.type</field>
            <field name="arch" type="xml">
                <form string="Rooms Type">
                    <sheet>
                        <group>
                            <group>
                                <field name="name"/>
                                <field name="items"/>
                            </group>
                        </group>
                    </sheet>
                </form>
            </field>
        </record>
        <!-- Rooms Items form -->
        <record id="benefit_housing_rooms_items_form" model="ir.ui.view">
            <field name="name">Odex - Rooms items form</field>
            <field name="model">benefit.housing.rooms.items</field>
            <field name="arch" type="xml">
                <form string="Rooms items">
                    <sheet>
                        <group>
                            <group>
                                <field name="room_id" invisible="1"/>
                                <field name="item"/>
                                <field name="status"/>
                                <field name="percentage" widget="percentage"/>
                            </group>
                        </group>
                    </sheet>
                </form>
            </field>
        </record>
        <!-- Rooms Items form -->
        <record id="housing_rooms_items_form" model="ir.ui.view">
            <field name="name">Odex -items form</field>
            <field name="model">rooms.items</field>
            <field name="arch" type="xml">
                <form string="items">
                    <sheet>
                        <group>
                            <group>
                                <field name="name"/>
                            </group>
                        </group>
                    </sheet>
                </form>
            </field>
        </record>
        <!-- Cities -->
        <record id="view_res_city_form" model="ir.ui.view">
            <field name="name">Odex - City form</field>
            <field name="model">res.country.city</field>
            <field name="arch" type="xml">
                <form string="City">
                    <sheet>
                        <group>
                            <group>
                                <field name="code" required="True"/>
                                <field name="state_id" domain="[('country_id', '=', country_id)]" required="True"/>

                            </group>
                            <group>
                                <field name="name" required="True"/>
                                <field name="country_id"/>
                            </group>
                        </group>
                    </sheet>
                </form>
            </field>
        </record>
        <!--        <record id="grant_benefit_tree" model="ir.ui.view">-->
        <!--            <field name="name">grant.benefit.tree</field>-->
        <!--            <field name="model">grant.benefit</field>-->
        <!--            <field name="arch" type="xml">-->
        <!--                <tree string="Benefit" default_order="create_date">-->
        <!--                    &lt;!&ndash;                    <field name="code"/>&ndash;&gt;-->
        <!--                    <field name="name"/>-->
        <!--                    <field name="email"/>-->
        <!--                    <field name="phone"/>-->
        <!--                    <field name="state"/>-->
        <!--                </tree>-->
        <!--            </field>-->
        <!--        </record>-->
        <record id="benefit_housing_kanban_view" model="ir.ui.view">
            <field name="name">benefit.housing.kanban</field>
            <field name="model">benefit.housing</field>
            <field name="arch" type="xml">
                <kanban class="o_res_partner_kanban">
                    <field name="id"/>
                    <field name="name"/>
                    <field name="property_type"/>
                    <field name="benefits_total"/>
                    <field name="rooms_number"/>
                    <field name="domestic_labor_ids"/>
                    <field name="housing_type"/>
                    <field name="image"/>
                    <templates>
                        <t t-name="kanban-box">
                            <div t-attf-class="oe_kanban_global_click">
                                <div class="o_kanban_image">
                                    <img alt="Avatar"
                                         t-att-src="kanban_image('benefit.housing', 'image',record.id.raw_value)"/>
                                </div>
                                <div class="oe_kanban_details">
                                    <strong class="o_kanban_record_title">
                                        <field name="name"/>
                                    </strong>
                                    <div t-if="record.housing_type.value">
                                        <t t-esc="record.housing_type.string"/>
                                        :
                                        <t t-esc="record.housing_type.value"/>
                                    </div>
                                    <div t-if="record.property_type.value">
                                        <t t-esc="record.property_type.string"/>
                                        :
                                        <t t-esc="record.property_type.value"/>
                                    </div>
                                    <div t-if="record.benefits_total.value">
                                        <t t-esc="record.benefits_total.string"/>
                                        :
                                        <t t-esc="record.benefits_total.value"/>
                                    </div>
                                    <div t-if="record.rooms_number.value">
                                        <t t-esc="record.rooms_number.string"/>
                                        :
                                        <t t-esc="record.rooms_number.value"/>
                                    </div>
                                    <div t-if="record.rooms_number.value">
                                        <t t-esc="record.domestic_labor_ids.string"/>
                                        :
                                        <field name="domestic_labor_ids" widget="many2many_tags"/>
                                    </div>
                                </div>
                            </div>
                        </t>
                    </templates>
                </kanban>
            </field>
        </record>
        <record id="food_surplus_type_tree" model="ir.ui.view">
            <field name="name">food.surplus.type.tree</field>
            <field name="model">food.surplus.type</field>
            <field name="arch" type="xml">
                <tree string="Food Surplus Type" editable="bottom">
                    <field name="name" required="1"/>
                    <field name="description"/>
                </tree>
            </field>
        </record>
        <record id="rooms_categories_tree" model="ir.ui.view">
            <field name="name">rooms.categories.tree</field>
            <field name="model">rooms.categories</field>
            <field name="arch" type="xml">
                <tree string="Rooms Categories" editable="bottom">
                    <field name="name" required="1"/>
                    <field name="age_from" required="1"/>
                    <field name="age_to" required="1"/>
                    <field name="gender" required="1"/>
                    <field name="description"/>
                </tree>
            </field>
        </record>
        <record id="domestic_labor_tree" model="ir.ui.view">
            <field name="name">domestic.labor.tree</field>
            <field name="model">domestic.labor</field>
            <field name="arch" type="xml">
                <tree string="Domestic Labor" editable="bottom">
                    <field name="name" required="1"/>
                </tree>
            </field>
        </record>
        <record id="benefit_programs_tree" model="ir.ui.view">
            <field name="name">benefit.programs.tree</field>
            <field name="model">benefit.programs</field>
            <field name="arch" type="xml">
                <tree string="Benefit Programs" editable="bottom">
                    <field name="name" required="1"/>
                    <field name="description"/>
                    <field name="behaviors_programs" widget="many2many_tags"/>
                </tree>
            </field>
        </record>
        <record id="specialization_form" model="ir.ui.view">
            <field name="name">specialization.form</field>
            <field name="model">specialization.specialization</field>
            <field name="arch" type="xml">
                <form>
                    <sheet>
                        <group>
                            <group>
                                <field name="name" required="True"/>
                                <field name="description"/>
                            </group>
                            <group>
                                <field name="is_scientific_specialty"/>
                                <field name="is_medical_specialty"/>
                            </group>
                        </group>
                    </sheet>
                </form>
            </field>
        </record>
        <record id="specialization_tree" model="ir.ui.view">
            <field name="name">specialization.tree</field>
            <field name="model">specialization.specialization</field>
            <field name="arch" type="xml">
                <tree string="Specialization" editable="bottom">
                    <field name="name" required="1"/>
                    <field name="description"/>
                    <field name="is_scientific_specialty"/>
                    <field name="is_medical_specialty"/>
                </tree>
            </field>
        </record>
        <record id="hospital_tree" model="ir.ui.view">
            <field name="name">hospital.tree</field>
            <field name="model">hospital.hospital</field>
            <field name="arch" type="xml">
                <tree string="hospital" editable="bottom">
                    <field name="name" required="1"/>
                    <field name="Location"/>
                </tree>
            </field>
        </record>
        <record id="insurance_company_tree" model="ir.ui.view">
            <field name="name">insurance.company.tree</field>
            <field name="model">insurance.company</field>
            <field name="arch" type="xml">
                <tree string="Insurance Company" editable="bottom">
                    <field name="name" required="1"/>
                    <field name="description"/>
                </tree>
            </field>
        </record>
        <record id="other_associations_tree" model="ir.ui.view">
            <field name="name">other.associations.tree</field>
            <field name="model">other.associations</field>
            <field name="arch" type="xml">
                <tree string="Other Associations" editable="bottom">
                    <field name="name" required="1"/>
                    <field name="city_id"/>
                    <field name="description"/>
                </tree>
            </field>
        </record>
        <record id="sport_type_tree" model="ir.ui.view">
            <field name="name">sport.type.tree</field>
            <field name="model">sport.type</field>
            <field name="arch" type="xml">
                <tree string="Sport Type" editable="bottom">
                    <field name="name" required="1"/>
                    <field name="description"/>
                </tree>
            </field>
        </record>
        <record id="housing_rooms_items_tree" model="ir.ui.view">
            <field name="name">housing.rooms.items.tree</field>
            <field name="model">rooms.items</field>
            <field name="arch" type="xml">
                <tree string="Rooms items" editable="bottom">
                    <field name="name" required="1"/>
                    <field name="description"/>
                </tree>
            </field>
        </record>
        <record id="item_status_tree" model="ir.ui.view">
            <field name="name">item_status.tree</field>
            <field name="model">item.status</field>
            <field name="arch" type="xml">
                <tree string="Item Status" editable="bottom">
                    <field name="name" required="1"/>
                    <field name="minimum_percentage" widget="percentage" required="1"/>
                    <field name="maximum_percentage" widget="percentage" required="1"/>
                </tree>
            </field>
        </record>
        <record id="housing_rooms_type_tree" model="ir.ui.view">
            <field name="name">housing.rooms.type.tree</field>
            <field name="model">housing.rooms.type</field>
            <field name="arch" type="xml">
                <tree string="Rooms Type">
                    <field name="name" required="1"/>
                    <field name="items" widget="many2many_tags"/>
                </tree>
            </field>
        </record>
        <record model="ir.ui.view" id="benefit_expenses_tree">
            <field name="name">benefit.expenses.tree</field>
            <field name="model">benefit.expenses</field>
            <field name="arch" type="xml">
                <tree>
                    <field name="name"/>
                    <field name="expenses_type"/>
                    <field name="amount"/>
                    <field name="state"/>
                </tree>
            </field>
        </record>
        <!--        <record id="branch_settings_tree" model="ir.ui.view">-->
        <!--            <field name="name">branch.settings.tree</field>-->
        <!--            <field name="model">branch.settings</field>-->
        <!--            <field name="arch" type="xml">-->
        <!--                <tree string="Branch settings">-->
        <!--                    <field name="branch_id"/>-->
        <!--                </tree>-->
        <!--            </field>-->
        <!--        </record>-->

        <record id="districts_tree" model="ir.ui.view">
            <field name="name">res.districts.tree</field>
            <field name="model">res.districts</field>
            <field name="arch" type="xml">
                <tree string="Districts">
                    <field name="name"/>
                    <field name="city_id"/>
                    <field name="branch_custom_id"/>
                    <field name="meal_card"/>
                </tree>
            </field>
        </record>
        <record id="expenses_line_form" model="ir.ui.view">
            <field name="name">expenses.form</field>
            <field name="model">benefit.expenses</field>
            <field name="arch" type="xml">
                <form string="Expenses">
                    <header>
                        <button name="action_accepted" type="object"
                                string="Accept" class="oe_highlight"
                                confirm="Are you sure you want to accept  ?"
                                states="draft"/>
                        <field name="state" widget="statusbar"/>
                    </header>
                    <sheet>
                        <group>
                            <group>
                                <field name="name"/>
                                <field name="benefit_id" invisible="1"/>
                                <field name="expenses_type"/>
                                <field name="expenses_fees_type"/>
                                <field name="amount"/>
                            </group>
                            <group>
                                <field name="medicine_type"
                                       attrs="{'invisible': [('expenses_type', '!=', 'medical')]}"/>
                                <field name="diseases_type"
                                       attrs="{'invisible': [('expenses_type', '!=', 'medical')]}"/>
                                <field name="trans_type"
                                       attrs="{'invisible': [('expenses_type', '!=', 'transportation')]}"/>
                                <field name="debt_type" attrs="{'invisible': [('expenses_type', '!=', 'debts')]}"/>
                                <field name="debt_reason" attrs="{'invisible': [('expenses_type', '!=', 'debts')]}"/>
                                <field name="attach"/>
                            </group>
                        </group>
                    </sheet>
                </form>
            </field>
        </record>

        <record id="visits_settings_form" model="ir.ui.view">
            <field name="name">Visits Types form</field>
            <field name="model">visits.types</field>
            <field name="arch" type="xml">
                <form string="Visits Types">
                    <sheet>
                        <group>
                            <group>
                                <field name="name"/>
                                <field name="creation_method"/>
                                <label for="recurrence_interval"
                                       attrs="{'invisible':[('creation_method','!=','automatic')]}"/>
                                <div class="o_row" attrs="{'invisible':[('creation_method','!=','automatic')]}">
                                    <field name="recurrence_interval" class="oe_inline" nolabel="1"/>
                                    <field name="recurrence_period" class="oe_inline" nolabel="1"/>
                                </div>
                            </group>
                            <group>
                                <field name="otp_verification" widget="boolean_toggle"/>
                                <field name="otp_validity_minutes"
                                       attrs="{'invisible':[('otp_verification','=',False)]}"/>
                                <field name="survey_id"/>
                            </group>
                        </group>
                    </sheet>
                </form>
            </field>
        </record>
        <record id="visits_settings_tree" model="ir.ui.view">
            <field name="name">visits.types.tree</field>
            <field name="model">visits.types</field>
            <field name="arch" type="xml">
                <tree string="Visits Types">
                    <field name="name"/>
                    <field name="creation_method"/>
                    <field name="otp_verification" widget="boolean_toggle"/>
                    <field name="survey_id"/>
                </tree>
            </field>
        </record>

        <record id="survey_setting_form" model="ir.ui.view">
            <field name="name">Survey URL</field>
            <field name="model">survey.setting</field>
            <field name="arch" type="xml">
                <form>
                    <sheet>
                        <group>
                            <group>
                                <field name="survey_url"/>
                            </group>
                        </group>
                    </sheet>
                </form>
            </field>
        </record>
        <record id="survey_setting_tree" model="ir.ui.view">
            <field name="name">Survey URL</field>
            <field name="model">survey.setting</field>
            <field name="arch" type="xml">
                <tree>
                    <field name="survey_url"/>
                </tree>
            </field>
        </record>
        <record id="suspend_reason_form" model="ir.ui.view">
            <field name="name">Reasons of Suspension and Refusal</field>
            <field name="model">suspend.reason</field>
            <field name="arch" type="xml">
                <form>
                    <sheet>
                        <div class="oe_title">
                            <h1>
                                <field name="name"/>
                            </h1>
                        </div>
                        <group>
                            <group>
                                <field name="is_stop_reason" widget="boolean_toggle"/>
                                <field name="is_resume_reason" widget="boolean_toggle"/>
                                <field name="need_service_manager_approval" widget="boolean_toggle"
                                       attrs="{'invisible': [('is_stop_reason','=',False)]}"/>
                                <field name="entity_type"
                                       attrs="{'invisible': [('is_stop_reason','=',False),('is_resume_reason','=',False)]}"/>
                                <field name="suspend_type"
                                       attrs="{'invisible': [('is_stop_reason','=',False)]}"/>
                                <field name="check_all_members_non_benefit" widget="boolean_toggle"
                                       attrs="{'invisible': [('is_stop_reason','=',False)]}"/>
                                <field name="days_before_final_suspend"
                                       attrs="{'invisible': [('suspend_type','!=','temporarily_suspend')]}"/>
                                <field name="allow_service" widget="boolean_toggle"/>
                            </group>
                            <group>
                                <field name="is_reject_reason" widget="boolean_toggle"/>
                                <field name="is_return_reason" widget="boolean_toggle"/>
                                <field name="is_family_return_reason" widget="boolean_toggle"/>
                                <field name="is_incomplete_visit_reason" widget="boolean_toggle"/>
                            </group>
                        </group>
                    </sheet>
                </form>
            </field>
        </record>
        <record id="suspend_reason_tree" model="ir.ui.view">
            <field name="name">Reasons of Suspension and Refusal</field>
            <field name="model">suspend.reason</field>
            <field name="arch" type="xml">
                <tree>
                    <field name="name"/>
                    <field name="is_stop_reason" widget="boolean_toggle"/>
                    <field name="is_reject_reason" widget="boolean_toggle"/>
                    <field name="is_return_reason" widget="boolean_toggle"/>
                    <field name="is_family_return_reason" widget="boolean_toggle"/>
                    <field name="is_resume_reason" widget="boolean_toggle"/>
                    <field name="is_incomplete_visit_reason" widget="boolean_toggle"/>
                    <field name="allow_service" widget="boolean_toggle"/>
                </tree>
            </field>
        </record>
        <record id="branch_settings_form" model="ir.ui.view">
            <field name="name">Branch Settings</field>
            <field name="model">branch.settings</field>
            <field name="arch" type="xml">
                <form>
                    <sheet>
                        <group>
                            <group>
                                <field name="branch"/>
                                <field name="manager_id"/>
                                <field name="operation_manager_id"/>
                                <field name="branch_type"/>
                            </group>
                            <group>
                                <field name="has_employees"/>
                                <field name="replacement_branch_id" domain="[('has_employees','=',True)]"
                                       attrs="{'invisible':[('has_employees','=',True)],'required':[('has_employees','=',False)]}"/>
                                <field name="service_producer_id"/>
                            </group>
                        </group>
                    </sheet>
                </form>
            </field>
        </record>
        <record id="branch_settings_tree" model="ir.ui.view">
            <field name="name">Branch Settings</field>
            <field name="model">branch.settings</field>
            <field name="arch" type="xml">
                <tree>
                    <field name="branch" context="{'hierarchical_naming':  False}"/>
                    <field name="branch_type"/>
                    <field name="manager_id"/>
                    <field name="operation_manager_id"/>
                    <field name="has_employees"/>
                </tree>
            </field>
        </record>
        <record id="relation_settings_form" model="ir.ui.view">
            <field name="name">Relation Settings</field>
            <field name="model">relation.settings</field>
            <field name="arch" type="xml">
                <form>
                    <sheet>
                        <group>
                            <group>
                                <field name="name"/>
                                <field name="relation_type"/>
                            </group>
                            <group>
                                <field name="age_difference"
                                       attrs="{'invisible': [('relation_type', 'not in', ['son', 'daughter'])]}"/>
                                <field name="grace_period_days"/>
                            </group>
                        </group>
                    </sheet>
                </form>
            </field>
        </record>
        <record id="relation_settings_tree" model="ir.ui.view">
            <field name="name">Relation Settings</field>
            <field name="model">relation.settings</field>
            <field name="arch" type="xml">
                <tree>
                    <field name="name"/>
                    <field name="relation_type"/>
                </tree>
            </field>
        </record>
        <record id="location_settings_form" model="ir.ui.view">
            <field name="name">Location Settings</field>
            <field name="model">location.settings</field>
            <field name="arch" type="xml">
                <form>
                    <sheet>
                        <group>
                            <group>
                                <field name="name"/>
                                <field name="location_type"/>

                                <field name="is_far_from_family"/>
                            </group>
                            <group>
                                <field name="is_benefit"/>
                                <field name="replacement_mother_is_benefit"/>
                            </group>
                        </group>
                    </sheet>
                </form>
            </field>
        </record>
        <record id="location_settings_tree" model="ir.ui.view">
            <field name="name">Location Settings</field>
            <field name="model">location.settings</field>
            <field name="arch" type="xml">
                <tree>
                    <field name="name"/>
                    <field name="location_type"/>
                    <field name="is_benefit"/>
                    <field name="is_far_from_family"/>
                    <field name="replacement_mother_is_benefit"/>
                </tree>
            </field>
        </record>
        <record id="attachments_settings_form" model="ir.ui.view">
            <field name="name">Attachments Settings</field>
            <field name="model">attachments.settings</field>
            <field name="arch" type="xml">
                <form>
                    <sheet>
                        <group>
                            <group>
                                <field name="name"/>
                                <field name="parent_id"  invisible="1" domain="[('attach_type','=',attach_type), ('id','!=',id)]"/>
                                <field name="attach_type"/>
                                <field name="family_appearance_seq"
                                       attrs="{'invisible':[('attach_type','!=','family_attach')]}"/>
                                <field name="member_appearance_seq"
                                       attrs="{'invisible':[('attach_type','!=','member_attach')]}"/>
                                <field name="income_appearance_seq"
                                       attrs="{'invisible':[('attach_type','!=','income_attach')]}"/>
                                <!--                                <field name="hobby_id"/>-->
                                <!--                                <field name="diseases_id"/>-->
                                <!--                                <field name="disabilities_id"/>-->
                                <field name="is_mother_salary"  attrs="{'invisible':[('attach_type','!=','income_attach')]}"/>

                            </group>
                            <group>
                                <field name="is_required"/>
                                <field name="is_default"/>
                                <field name="show_in_portal"/>
                            </group>
                        </group>
                         <notebook attrs="{'invisible':[('attach_type','not in',['diseases_attach','disabilities_attach'])]}">
                            <page string="Children" >
                                <field name="child_ids" context="{'default_attach_type': attach_type}">
                                    <tree editable="bottom">
                                        <field name="name"/>
                                        <field name="attach_type" invisible="1"/>
                                        <field name="is_required"/>
                                        <field name="is_default"/>
                                        <field name="show_in_portal"/>
                                    </tree>
                                </field>
                            </page>
                        </notebook>
                    </sheet>
                </form>
            </field>
        </record>
        <record id="attachments_settings_tree" model="ir.ui.view">
            <field name="name">Attachments Settings</field>
            <field name="model">attachments.settings</field>
            <field name="arch" type="xml">
                <tree>
                    <field name="name"/>
                    <field name="attach_type"/>
                    <field name="is_required"/>
                    <field name="is_default"/>
                    <field name="show_in_portal"/>
                </tree>
            </field>
        </record>
        <record id="education_illiterate_reason_form" model="ir.ui.view">
            <field name="name">Education Illiterate Reason</field>
            <field name="model">education.illiterate.reason</field>
            <field name="arch" type="xml">
                <form>
                    <sheet>
                        <group>
                            <group>
                                <field name="name"/>
                            </group>
                        </group>
                    </sheet>
                </form>
            </field>
        </record>
        <record id="education_illiterate_reason_tree" model="ir.ui.view">
            <field name="name">Education Illiterate Reason</field>
            <field name="model">education.illiterate.reason</field>
            <field name="arch" type="xml">
                <tree>
                    <field name="name"/>
                </tree>
            </field>
        </record>

        <!--    Education Delay Reason View Form    -->
        <record id="education_delay_reason_form" model="ir.ui.view">
            <field name="name">Education Delay Reason</field>
            <field name="model">education.delay.reason</field>
            <field name="arch" type="xml">
                <form>
                    <sheet>
                        <group>
                            <group>
                                <field name="name"/>
                            </group>
                        </group>
                    </sheet>
                </form>
            </field>
        </record>

        <!--    Education Delay Reason View Tree    -->
        <record id="education_delay_reason_tree" model="ir.ui.view">
            <field name="name">Education Delay Reason</field>
            <field name="model">education.delay.reason</field>
            <field name="arch" type="xml">
                <tree>
                    <field name="name"/>
                </tree>
            </field>
        </record>

        <!-- Income Type Form and Tree -->
        <record id="income_type_form" model="ir.ui.view">
            <field name="name">Income Type</field>
            <field name="model">income.type</field>
            <field name="arch" type="xml">
                <form>
                    <sheet>
                        <group>
                            <group>
                                <field name="name"/>
                            </group>
                        </group>
                    </sheet>
                </form>
            </field>
        </record>
        <record id="income_type_tree" model="ir.ui.view">
            <field name="name">Income Type Tree</field>
            <field name="model">income.type</field>
            <field name="arch" type="xml">
                <tree>
                    <field name="name"/>
                </tree>
            </field>
        </record>
        <!-- Expenses Type Form and Tree -->
        <record id="expenses_type_form" model="ir.ui.view">
            <field name="name">Expenses Type</field>
            <field name="model">expenses.type</field>
            <field name="arch" type="xml">
                <form>
                    <sheet>
                        <group>
                            <group>
                                <field name="name"/>
                            </group>
                        </group>
                    </sheet>
                </form>
            </field>
        </record>
        <record id="expenses_type_tree" model="ir.ui.view">
            <field name="name">Expenses Type Tree</field>
            <field name="model">expenses.type</field>
            <field name="arch" type="xml">
                <tree>
                    <field name="name"/>
                </tree>
            </field>
        </record>
        <!-- Loan Giver FOrm AND tree -->
        <record id="loan_giver_form" model="ir.ui.view">
            <field name="name">Loan Giver Form</field>
            <field name="model">loan.giver</field>
            <field name="arch" type="xml">
                <form>
                    <sheet>
                        <group>
                            <group>
                                <field name="name"/>
                            </group>
                        </group>
                    </sheet>
                </form>
            </field>
        </record>
        <record id="loan_giver_tree" model="ir.ui.view">
            <field name="name">Loan Giver Tree</field>
            <field name="model">loan.giver</field>
            <field name="arch" type="xml">
                <tree>
                    <field name="name"/>
                </tree>
            </field>
        </record>
        <!-- Hobbies Settings Form AND tree -->
        <record id="hobbies_settings_form" model="ir.ui.view">
            <field name="name">Hobbies Settings Form</field>
            <field name="model">hobbies.settings</field>
            <field name="arch" type="xml">
                <form>
                    <sheet>
                        <group>
                            <group>
                                <field name="name"/>
                            </group>
                        </group>
                    </sheet>
                </form>
            </field>
        </record>
        <record id="hobbies_settings_tree" model="ir.ui.view">
            <field name="name">Hobbies Settings Tree</field>
            <field name="model">hobbies.settings</field>
            <field name="arch" type="xml">
                <tree>
                    <field name="name"/>
                </tree>
            </field>
        </record>
        <!-- Disabilities Setting Form AND tree -->
        <record id="disabilities_settings_form" model="ir.ui.view">
            <field name="name">Disabilities Settings Form</field>
            <field name="model">disabilities.settings</field>
            <field name="arch" type="xml">
                <form>
                    <sheet>
                        <group>
                            <group>
                                <field name="name"/>
                            </group>
                        </group>
                    </sheet>
                </form>
            </field>
        </record>
        <record id="disabilities_settings_tree" model="ir.ui.view">
            <field name="name">Disabilities Settings Tree</field>
            <field name="model">disabilities.settings</field>
            <field name="arch" type="xml">
                <tree>
                    <field name="name"/>
                </tree>
            </field>
        </record>
        <!-- Diseases Settings Form AND tree -->
        <record id="diseases_settings_form" model="ir.ui.view">
            <field name="name">Diseases Settings Form</field>
            <field name="model">diseases.settings</field>
            <field name="arch" type="xml">
                <form>
                    <sheet>
                        <group>
                            <group>
                                <field name="name"/>
                            </group>
                        </group>
                    </sheet>
                </form>
            </field>
        </record>
        <record id="diseases_settings_tree" model="ir.ui.view">
            <field name="name">Diseases Settings Tree</field>
            <field name="model">diseases.settings</field>
            <field name="arch" type="xml">
                <tree>
                    <field name="name"/>
                </tree>
            </field>
        </record>
        <!-- Exception Reason Form AND tree -->
        <record id="exception_reason_form" model="ir.ui.view">
            <field name="name">Exception Reason Form</field>
            <field name="model">exception.reason</field>
            <field name="arch" type="xml">
                <form>
                    <sheet>
                        <group>
                            <group>
                                <field name="name"/>
                            </group>
                        </group>
                    </sheet>
                </form>
            </field>
        </record>
        <record id="exception_reason_tree" model="ir.ui.view">
            <field name="name">Exception Reason Tree</field>
            <field name="model">exception.reason</field>
            <field name="arch" type="xml">
                <tree>
                    <field name="name"/>
                </tree>
            </field>
        </record>
        <!-- Marital Status Form AND tree -->
        <record id="marital_status_form" model="ir.ui.view">
            <field name="name">Marital Status Form</field>
            <field name="model">marital.status</field>
            <field name="arch" type="xml">
                <form>
                    <sheet>
                        <group>
                            <group>
                                <field name="name"/>

                                <field name="is_dead"/>
                            </group>
                            <group>
                                <field name="is_benefit"/>
                                <field name="replacement_mother_is_benefit"/>
                            </group>
                        </group>
                    </sheet>
                </form>
            </field>
        </record>
        <record id="marital_status_tree" model="ir.ui.view">
            <field name="name">Marital Status Tree</field>
            <field name="model">marital.status</field>
            <field name="arch" type="xml">
                <tree>
                    <field name="name"/>
                    <field name="is_benefit"/>
                    <field name="replacement_mother_is_benefit"/>
                </tree>
            </field>
        </record>
        <!-- Age Category Form AND tree -->
        <record id="age_category_form" model="ir.ui.view">
            <field name="name">Age Category Form</field>
            <field name="model">age.category</field>
            <field name="arch" type="xml">
                <form>
                    <sheet>
                        <group>
                            <group>
                                <field name="min_age"/>
                            </group>
                            <group>
                                <field name="max_age"/>
                            </group>
                        </group>
                    </sheet>
                </form>
            </field>
        </record>
        <record id="age_category_tree" model="ir.ui.view">
            <field name="name">Age Category Tree</field>
            <field name="model">age.category</field>
            <field name="arch" type="xml">
                <tree>
                    <field name="name"/>
                    <field name="min_age"/>
                    <field name="max_age"/>
                </tree>
            </field>
        </record>
        <!-- Complaints Category Form AND tree -->
        <record id="complaints_category_form" model="ir.ui.view">
            <field name="name">Complaints Category Form</field>
            <field name="model">complaints.category</field>
            <field name="arch" type="xml">
                <form string="Complaints Category">
                    <sheet>
                        <div class="oe_title">
                            <div class="oe_edit_only">
                                <label for="name"/>
                            </div>
                            <h1>
                                <field name="name"/>
                            </h1>
                        </div>
                        <group>
                            <group>
                                <field name="color" required="True"/>
                            </group>
                        </group>
                    </sheet>
                </form>
            </field>
        </record>
        <record id="age_category_tree" model="ir.ui.view">
            <field name="name">Complaints Category Tree</field>
            <field name="model">complaints.category</field>
            <field name="arch" type="xml">
                <tree string="Complaints Category" editable="bottom">
                    <field name="name"/>
                    <field name="color" widget="color_picker"/>
                </tree>
            </field>
        </record>

        <record id="return_reason_form" model="ir.ui.view">
            <field name="name">return.reason.form.view</field>
            <field name="model">return.reason</field>
            <field name="arch" type="xml">
                <form>
                    <sheet>
                        <div class="oe_title">
                            <h1>
                                <field name="name"/>
                            </h1>
                        </div>
                    </sheet>
                </form>
            </field>
        </record>
        <record id="return_reason_tree" model="ir.ui.view">
            <field name="name">return.reason.tree.view</field>
            <field name="model">return.reason</field>
            <field name="arch" type="xml">
                <tree>
                    <field name="name"/>
                </tree>
            </field>
        </record>
        <record id="view_property_type_settings_tree" model="ir.ui.view">
            <field name="name">property.type.settings.tree</field>
            <field name="model">property.type.settings</field>
            <field name="arch" type="xml">
                <tree>
                    <field name="name"/>
                    <field name="type"/>
                    <field name="is_shared"/>
                    <field name="unavailable_service_ids" widget="many2many_tags"/>
                </tree>
            </field>
        </record>
        <record id="view_property_type_settings_form" model="ir.ui.view">
            <field name="name">property.type.settings.form</field>
            <field name="model">property.type.settings</field>
            <field name="arch" type="xml">
                <form>
                    <sheet>
                        <div class="oe_title">
                            <h1>
                                <field placeholder="Name" name="name" class="oe_inline"/>
                            </h1>
                        </div>
                        <group>
                            <group>
                                <field name="type"/>
                            </group>
                            <group>
                                <field name="is_shared" widget="boolean_toggle"/>
                            </group>
                        </group>
                        <notebook>
                            <page string="Unavailable Services">
                                <field name="unavailable_service_ids"/>
                            </page>
                        </notebook>
                    </sheet>
                </form>
            </field>
        </record>
        <record id="view_rent_contract_tree" model="ir.ui.view">
            <field name="name">rent.contract.tree</field>
            <field name="model">rent.contract</field>
            <field name="arch" type="xml">
                <tree>
                    <field name="name"/>
                    <field name="landlord_type"/>
                    <field name="family_id"/>
                    <field name="member_id"/>
                    <field name="contract_type"/>
                    <field name="start_date"/>
                    <field name="end_date"/>
                    <field name="payment_type"/>
                    <field name="rent_amount"/>
                    <field name="state"/>
                </tree>
            </field>
        </record>
        <record id="view_rent_contract_form" model="ir.ui.view">
            <field name="name">rent.contract.form</field>
            <field name="model">rent.contract</field>
            <field name="arch" type="xml">
                <form>
                    <sheet>
                        <div class="oe_title">
                            <h1>
                                <field placeholder="Contract Number" name="name" class="oe_inline"/>
                            </h1>
                        </div>
                        <group>
                            <group>
                                <field name="landlord_type"/>
                                <field name="family_id" invisible="1"/>
                                <field name="member_id" attrs="{'invisible': [('landlord_type', '!=', 'member')]}"/>
                                <field name="contract_type"/>
                                <field name="start_date"/>
                                <field name="end_date" attrs="{'required': [('contract_type', '=', 'fixed')]}"/>
                            </group>
                            <group>
                                <field name="state"/>
                                <field name="payment_type" invisible="1"/>
                                <field name="rent_amount"/>
                                <field name="contract_attachment" widget="many2many_attachment_preview"/>
                                <field name="electricity_bill_attachment" widget="many2many_attachment_preview"/>
                            </group>
                        </group>
                    </sheet>
                </form>
            </field>
        </record>
        <record id="view_service_attachments_settings_tree" model="ir.ui.view">
            <field name="name">service.attachments.settings.tree</field>
            <field name="model">service.attachments.settings</field>
            <field name="arch" type="xml">
                <tree>
                    <field name="name"/>
                    <field name="service_request_id"/>
                    <field name="service_attach" widget="many2many_attachment_preview"/>
                    <field name="notes"/>
                </tree>
            </field>
        </record>
        <record id="view_service_attachments_settings_form" model="ir.ui.view">
            <field name="name">service.attachments.settings.form</field>
            <field name="model">service.attachments.settings</field>
            <field name="arch" type="xml">
                <form>
                    <sheet>
                        <div class="oe_title">
                            <h1>
                                <field name="name" class="oe_inline"/>
                            </h1>
                        </div>
                        <group>
                            <group>
                                <field name="service_request_id"/>
                                <field name="service_attach" widget="many2many_attachment_preview"/>
                            </group>
                            <group>
                                <field name="notes"/>
                            </group>
                        </group>
                    </sheet>
                </form>
            </field>
        </record>
    </data>
</odoo>
