<odoo>
    <data>
        <!--Benefit Actions-->

        <record model="ir.actions.act_window" id="grant_benefit_dashboard_action">
            <field name="name">Family Profile</field>
            <field name="res_model">grant.benefit</field>
            <field name="view_mode">tree,kanban,form,activity,google_map</field>
            <field name="context">{'is_benefit': True}</field>
            <field name="help" type="html">
                <p class="oe_view_nocontent_create">Create the Benefit
                </p>
            </field>
        </record>
        <record model="ir.actions.act_window" id="grant_benefit_list_draft_action">
            <field name="name">Benefits in draft</field>
            <field name="res_model">grant.benefit</field>
<!--            <field name="view_type">form</field>-->
            <field name="view_mode">tree,form</field>
            <field name="domain">[('state','=','draft')]
            </field>
            <field name="help" type="html">
                <p class="oe_view_nocontent_create">Create the Benefit
                </p>
            </field>
        </record>
        <record model="ir.actions.act_window" id="grant_benefit_list_complete_action">
            <field name="name">Benefits in complete</field>
            <field name="res_model">grant.benefit</field>
<!--            <field name="view_type">form</field>-->
            <field name="view_mode">tree,form</field>
            <field name="context">{'create': False}</field>
            <field name="domain">[('state','=','complete_info')]
            </field>
            <field name="help" type="html">
                <p class="oe_view_nocontent_create">Create the Benefit
                </p>
            </field>
        </record>
        <record model="ir.actions.act_window" id="grant_benefit_to_waiting_approve_action">
            <field name="name">Benefit To Waiting Approve</field>
            <field name="res_model">grant.benefit</field>
<!--            <field name="view_type">form</field>-->
            <field name="view_mode">tree,form,graph</field>
            <field name="context">{'create': False}</field>
            <field name="domain">[('state','=','waiting_approve')]</field>
        </record>
        <record model="ir.actions.act_window" id="grant_benefit_approve_action">
            <field name="name">Benefit Approve</field>
            <field name="res_model">grant.benefit</field>
<!--            <field name="view_type">form</field>-->
            <field name="view_mode">tree,form,graph</field>
            <field name="context">{'create': False}</field>
            <field name="domain">[('state','=','second_approve')]</field>
        </record>
        <record model="ir.actions.act_window" id="grant_benefit_reject_action">
            <field name="name">Benefit Reject List</field>
            <field name="res_model">grant.benefit</field>
<!--            <field name="view_type">form</field>-->
            <field name="view_mode">tree,form</field>
            <field name="context">{'create': False}</field>
            <field name="domain">[('state','in',['refused'])]
            </field>
        </record>
        <record model="ir.actions.act_window" id="grant_benefit_black_list_action">
            <field name="name">Benefit Black List</field>
            <field name="res_model">grant.benefit</field>
<!--            <field name="view_type">form</field>-->
            <field name="view_mode">tree,form</field>
            <field name="context">{'create': False}</field>
            <field name="domain">[('state','in',['black_list'])]
            </field>
        </record>
        <!--   committees.line     البحث الاجتماعي -->
        <record id="action_social_search_committees" model="ir.actions.act_window">
            <field name="name">Social Research Committees</field>
            <field name="type">ir.actions.act_window</field>
            <field name="res_model">committees.line</field>
            <field name="view_mode">tree,form</field>
        </record>

         <record id="changes_requests_action" model="ir.actions.act_window">
            <field name="name">changes Requests</field>
            <field name="type">ir.actions.act_window</field>
            <field name="res_model">changes.requests</field>
            <field name="view_mode">tree,form</field>
        </record>
        <!--        4-ملفات قيد البحث -->
        <!--        5-ملفات تحتاج تحديث-->
        <!--        6-اوامر البحث الاجتماعي-->
        <!--        7-تقارير البحث الاجتماعي-->

        <!--   External Benefit Action-->
        <record id="external_benefit_action" model="ir.actions.act_window">
            <field name="name">external_benefit_action</field>
            <field name="type">ir.actions.act_window</field>
            <field name="res_model">external.benefits</field>
<!--            <field name="view_type">form</field>-->
            <field name="view_mode">tree,form</field>
        </record>
        <!--Neighborhood Representative Action-->
        <record id="benefits_representative_action" model="ir.actions.act_window">
            <field name="name">Benefits Representative</field>
            <field name="type">ir.actions.act_window</field>
            <field name="res_model">benefits.representative</field>
<!--            <field name="view_type">form</field>-->
            <field name="view_mode">tree,form</field>
        </record>
        <!--###########################################################-->
        <!--Benefit Config Actions-->
        <!--###########################################################-->
        <record model="ir.actions.act_window" id="housing_rooms_items_action">
            <field name="name">Housing Rooms Type</field>
            <field name="res_model">rooms.items</field>
<!--            <field name="view_type">form</field>-->
            <field name="view_mode">tree</field>
            <field name="help" type="html">
                <p class="oe_view_nocontent_create">Create the Housing Rooms items
                </p>
            </field>
        </record>
        <record model="ir.actions.act_window" id="insurance_company_action">
            <field name="name">Insurance Company</field>
            <field name="res_model">insurance.company</field>
<!--            <field name="view_type">form</field>-->
            <field name="view_mode">tree</field>
            <field name="help" type="html">
                <p class="oe_view_nocontent_create">Create the Insurance Company
                </p>
            </field>
        </record>
        <record model="ir.actions.act_window" id="family_action">
            <field name="name">Beneficiaries family</field>
            <field name="res_model">benefit.family</field>
<!--            <field name="view_type">form</field>-->
            <field name="context">{'create': False,'edit':False}</field>
            <field name="view_mode">tree,form</field>
            <field name="help" type="html">
                <p class="oe_view_nocontent_create">Create the family
                </p>
            </field>
        </record>
        <record id="action_country_state_benefit" model="ir.actions.act_window">
            <field name="name">States</field>
            <field name="type">ir.actions.act_window</field>
            <field name="res_model">res.country.state</field>
            <field name="domain">[('country_id.code','=','SA')]</field>
        </record>
        <record model="ir.actions.act_window" id="res_city_list_action">
            <field name="name">Country Cities</field>
            <field name="res_model">res.country.city</field>
<!--            <field name="view_type">form</field>-->
            <field name="view_mode">tree,form</field>
            <field name="help" type="html">
                <p class="oe_view_nocontent_create">Create the first City
                </p>
            </field>
        </record>
        <record model="ir.actions.act_window" id="res_branch_action">
            <field name="name">Branch Settings</field>
            <field name="res_model">branch.settings</field>
<!--            <field name="view_type">form</field>-->
            <field name="view_mode">tree,form</field>
            <field name="help" type="html">
                <p class="oe_view_nocontent_create">Create the First Branch
                </p>
            </field>
        </record>
        <record model="ir.actions.act_window" id="districts_action">
            <field name="name">Districts</field>
            <field name="res_model">res.districts</field>
            <field name="view_mode">tree,form</field>
            <field name="help" type="html">
                <p class="oe_view_nocontent_create">Create the First District
                </p>
            </field>
        </record>
        <record model="ir.actions.act_window" id="visits_action">
            <field name="name">Visits</field>
            <field name="res_model">visit.location</field>
            <field name="view_mode">kanban,tree,form,activity,calendar</field>
            <field name="help" type="html">
                <p class="oe_view_nocontent_create">Create the First Visit
                </p>
            </field>
        </record>
<!--        <record model="ir.actions.act_window" id="main_service_action">-->
<!--            <field name="name">Service Types</field>-->
<!--            <field name="res_model">main.service</field>-->
<!--            <field name="view_mode">tree,form</field>-->
<!--            <field name="help" type="html">-->
<!--                <p class="oe_view_nocontent_create">Create the First Service-->
<!--                </p>-->
<!--            </field>-->
<!--        </record>-->
        <record model="ir.actions.act_window" id="exception_reason_action">
            <field name="name">Exception Reason</field>
            <field name="res_model">exception.reason</field>
            <field name="view_mode">tree,form</field>
            <field name="help" type="html">
                <p class="oe_view_nocontent_create">Create the Exception Reason
                </p>
            </field>
        </record>
        <record model="ir.actions.act_window" id="res_bank_list_action">
            <field name="name">Banks</field>
            <field name="res_model">res.bank</field>
<!--            <field name="view_type">form</field>-->
            <field name="view_mode">tree,form</field>
            <field name="help" type="html">
                <p class="oe_view_nocontent_create">Create the first Bank
                </p>
            </field>
        </record>
        <record model="ir.actions.act_window" id="category_action">
            <field name="name">Beneficiaries Category</field>
            <field name="res_model">benefit.category</field>
<!--            <field name="view_type">form</field>-->
            <field name="view_mode">tree,form</field>
            <field name="help" type="html">
                <p class="oe_view_nocontent_create">Create the Category
                </p>
            </field>
        </record>
        <record model="ir.actions.act_window" id="relation_action">
            <field name="name">Relation Settings</field>
            <field name="res_model">relation.settings</field>
            <field name="view_mode">tree,form</field>
            <field name="help" type="html">
                <p class="oe_view_nocontent_create">Create the Relation
                </p>
            </field>
        </record>
         <record model="ir.actions.act_window" id="location_action">
            <field name="name">Location Settings</field>
            <field name="res_model">location.settings</field>
            <field name="view_mode">tree,form</field>
            <field name="help" type="html">
                <p class="oe_view_nocontent_create">Create the Location
                </p>
            </field>
        </record>
         <record model="ir.actions.act_window" id="marital_status_action">
            <field name="name">Marital Status</field>
            <field name="res_model">marital.status</field>
            <field name="view_mode">tree,form</field>
            <field name="help" type="html">
                <p class="oe_view_nocontent_create">Create the Marital Status
                </p>
            </field>
        </record>
        <record model="ir.actions.act_window" id="age_category_action">
            <field name="name">Age Category</field>
            <field name="res_model">age.category</field>
            <field name="view_mode">tree,form</field>
            <field name="help" type="html">
                <p class="oe_view_nocontent_create">Create the Age Category
                </p>
            </field>
        </record>
         <record model="ir.actions.act_window" id="complaints_category_action">
            <field name="name">Complaints Category</field>
            <field name="res_model">complaints.category</field>
            <field name="view_mode">tree,form</field>
            <field name="help" type="html">
                <p class="oe_view_nocontent_create">Create the Complaints Category
                </p>
            </field>
        </record>
        <record model="ir.actions.act_window" id="visits_types_action">
            <field name="name">Visits Types</field>
            <field name="res_model">visits.types</field>
            <field name="view_mode">tree,form</field>
            <field name="help" type="html">
                <p class="oe_view_nocontent_create">Create the Visit Type
                </p>
            </field>
        </record>
        <record model="ir.actions.act_window" id="survey_setting_action">
            <field name="name">Survey Setting</field>
            <field name="res_model">survey.setting</field>
            <field name="view_mode">tree,form</field>
            <field name="help" type="html">
                <p class="oe_view_nocontent_create">Survey url
                </p>
            </field>
        </record>
        <record model="ir.actions.act_window" id="suspend_reason_action">
            <field name="name">Reasons of Suspension and Refusal</field>
            <field name="res_model">suspend.reason</field>
            <field name="view_mode">tree,form</field>
            <field name="help" type="html">
                <p class="oe_view_nocontent_create">Reasons of Suspension and Refusal
                </p>
            </field>
        </record>
        <record id="return_reason_action" model="ir.actions.act_window">
            <field name="name">Return Reasons</field>
            <field name="res_model">return.reason</field>
            <field name="view_mode">tree,form</field>
            <field name="help" type="html">
                <p class="oe_view_nocontent_create">Create New Return Reason
                </p>
            </field>
        </record>
        <record model="ir.actions.act_window" id="domestic_labor_action">
            <field name="name">The Domestic Labor</field>
            <field name="res_model">domestic.labor</field>
<!--            <field name="view_type">form</field>-->
            <field name="view_mode">tree,form</field>
            <field name="help" type="html">
                <p class="oe_view_nocontent_create">Create the first Domestic labor
                </p>
            </field>
        </record>
        <record model="ir.actions.act_window" id="member_location_action">
            <field name="name">Member Location</field>
            <field name="res_model">member.location</field>
            <field name="view_mode">tree,form</field>
            <field name="help" type="html">
                <p class="oe_view_nocontent_create">Create the Member Location
                </p>
            </field>
        </record>
        <record model="ir.actions.act_window" id="family_validation_action">
            <field name="name">Family Validation Setting</field>
            <field name="res_model">family.validation.setting</field>
            <field name="view_mode">tree,form</field>
            <field name="help" type="html">
               <p class="oe_view_nocontent_create">Create the Housing
                </p>
            </field>
        </record>
        <record model="ir.actions.act_window" id="housing_action">
            <field name="name">Benefit Housing</field>
            <field name="res_model">benefit.housing</field>
<!--            <field name="view_type">form</field>-->
            <field name="view_mode">kanban,tree,form</field>
            <field name="help" type="html">
                <p class="oe_view_nocontent_create">Create the Housing
                </p>
            </field>
        </record>

        <record model="ir.actions.act_window" id="benefit_vehicle_model_action">
            <field name="name">Vehicle Model</field>
            <field name="res_model">benefit.vehicle.model</field>
            <field name="view_mode">tree,form</field>
            <field name="help" type="html">
                <p class="oe_view_nocontent_create">Create the First Vehicle Model</p>
            </field>
        </record>
        <!-- Attachments Settings Action -->
        <record model="ir.actions.act_window" id="attachments_settings_action">
            <field name="name">Attachments Settings</field>
            <field name="res_model">attachments.settings</field>
            <field name="view_mode">tree,form</field>
            <field name="domain">[('parent_id', '=', False)]</field>
            <field name="help" type="html">
                <p class="oe_view_nocontent_create">Create the Attachment Setting
                </p>
            </field>
        </record>
         <!-- Hobbies Settings Action -->
        <record model="ir.actions.act_window" id="hobbies_settings_action">
            <field name="name">Hobbies Settings</field>
            <field name="res_model">hobbies.settings</field>
            <field name="view_mode">tree,form</field>
            <field name="help" type="html">
                <p class="oe_view_nocontent_create">Create the Hobbies Setting
                </p>
            </field>
        </record>
         <!-- Disabilities Settings Action -->
        <record model="ir.actions.act_window" id="disabilities_settings_action">
            <field name="name">Disabilities Settings</field>
            <field name="res_model">disabilities.settings</field>
            <field name="view_mode">tree,form</field>
            <field name="help" type="html">
                <p class="oe_view_nocontent_create">Create the Disabilities Setting
                </p>
            </field>
        </record>
         <!-- Diseases Settings Action -->
        <record model="ir.actions.act_window" id="diseases_settings_action">
            <field name="name">Diseases Settings</field>
            <field name="res_model">diseases.settings</field>
            <field name="view_mode">tree,form</field>
            <field name="help" type="html">
                <p class="oe_view_nocontent_create">Create the Diseases Setting
                </p>
            </field>
        </record>
        <record model="ir.actions.act_window" id="food_surplus_type_action">
            <field name="name">Food Surplus Type</field>
            <field name="res_model">food.surplus.type</field>
<!--            <field name="view_type">form</field>-->
            <field name="view_mode">tree</field>
            <field name="help" type="html">
                <p class="oe_view_nocontent_create">Create the Food Surplus Type
                </p>
            </field>
        </record>
        <record model="ir.actions.act_window" id="benefit_behaviors_type_action">
            <field name="name">Benefit Behaviors Type</field>
            <field name="res_model">benefit.behaviors.type</field>
<!--            <field name="view_type">form</field>-->
            <field name="view_mode">tree</field>
            <field name="help" type="html">
                <p class="oe_view_nocontent_create">Create the benefitbehaviors.type
                </p>
            </field>
        </record>
        <record model="ir.actions.act_window" id="club_programs_action">
            <field name="name">Club Programs</field>
            <field name="res_model">benefit.programs</field>
<!--            <field name="view_type">form</field>-->
            <field name="view_mode">tree</field>
            <field name="help" type="html">
                <p class="oe_view_nocontent_create">Create the Food Surplus Type
                </p>
            </field>
        </record>
        <record model="ir.actions.act_window" id="specialization_action">
            <field name="name">Specialization</field>
            <field name="res_model">specialization.specialization</field>
<!--            <field name="view_type">form</field>-->
            <field name="view_mode">tree</field>
            <field name="help" type="html">
                <p class="oe_view_nocontent_create">Create the Specialization
                </p>
            </field>
        </record>
        <record model="ir.actions.act_window" id="other_associations_action">
            <field name="name">Other Associations</field>
            <field name="res_model">other.associations</field>
<!--            <field name="view_type">form</field>-->
            <field name="view_mode">tree</field>
            <field name="help" type="html">
                <p class="oe_view_nocontent_create">Create the Other Associations
                </p>
            </field>
        </record>
        <record model="ir.actions.act_window" id="sport_type_action">
            <field name="name">Sport Type</field>
            <field name="res_model">sport.type</field>
<!--            <field name="view_type">form</field>-->
            <field name="view_mode">tree</field>
            <field name="help" type="html">
                <p class="oe_view_nocontent_create">Create the Sport Type
                </p>
            </field>
        </record>
          <record model="ir.actions.act_window" id="income_type_action">
            <field name="name">Income Type</field>
            <field name="res_model">income.type</field>
            <field name="view_mode">tree,form</field>
            <field name="help" type="html">
                <p class="oe_view_nocontent_create">Create the Income Type
                </p>
            </field>
        </record>
        <record model="ir.actions.act_window" id="expenses_type_action">
            <field name="name">Expenses Type</field>
            <field name="res_model">expenses.type</field>
            <field name="view_mode">tree,form</field>
            <field name="help" type="html">
                <p class="oe_view_nocontent_create">Create the Expenses Type
                </p>
            </field>
        </record>
         <record model="ir.actions.act_window" id="loan_giver_action">
            <field name="name">Loan Giver</field>
            <field name="res_model">loan.giver</field>
            <field name="view_mode">tree,form</field>
            <field name="help" type="html">
                <p class="oe_view_nocontent_create">Create the Loan Giver
                </p>
            </field>
        </record>
        <record model="ir.actions.act_window" id="loan_reason_action">
            <field name="name">Loan Reason</field>
            <field name="res_model">loan.reason</field>
            <field name="view_mode">tree,form</field>
            <field name="help" type="html">
                <p class="oe_view_nocontent_create">Create the Loan Reason
                </p>
            </field>
        </record>
        <record model="ir.actions.act_window" id="item_status_action">
            <field name="name">Item Status</field>
            <field name="res_model">item.status</field>
<!--            <field name="view_type">form</field>-->
            <field name="view_mode">tree</field>
            <field name="help" type="html">
                <p class="oe_view_nocontent_create">Create the Housing Rooms items
                </p>
            </field>
        </record>
        <record model="ir.actions.act_window" id="hospital_action">
            <field name="name">Hospital file</field>
            <field name="res_model">hospital.hospital</field>
<!--            <field name="view_type">form</field>-->
            <field name="view_mode">tree</field>
            <field name="help" type="html">
                <p class="oe_view_nocontent_create">Create the Hospital file
                </p>
            </field>
        </record>
        <record model="ir.actions.act_window" id="housing_rooms_type_action">
            <field name="name">Housing Rooms Type</field>
            <field name="res_model">housing.rooms.type</field>
<!--            <field name="view_type">form</field>-->
            <field name="view_mode">tree,form</field>
            <field name="help" type="html">
                <p class="oe_view_nocontent_create">Create the Housing Rooms Type
                </p>
            </field>
        </record>
        <record model="ir.actions.act_window" id="rooms_categories_action">
            <field name="name">Rooms Categories</field>
            <field name="res_model">rooms.categories</field>
<!--            <field name="view_type">form</field>-->
            <field name="view_mode">tree</field>
            <field name="help" type="html">
                <p class="oe_view_nocontent_create">Create the Housing Rooms categories
                </p>
            </field>
        </record>
        <record model="ir.actions.act_window" id="email_list_action">
            <field name="name">Email Template</field>
            <field name="res_model">mail.template</field>
<!--            <field name="view_type">form</field>-->
            <field name="domain">[('model_id.model', '=', 'grant.benefit')]</field>
            <field name="view_mode">tree,form</field>
        </record>
        <!--##########################################-->
        <!-- Benefit Services Actions-->
        <record model="ir.actions.act_window" id="services_settings_action">
            <field name="name">Services Settings</field>
            <field name="res_model">services.settings</field>
            <field name="view_mode">tree,form</field>
            <field name="help" type="html">
                <p class="oe_view_nocontent_create">Create the Service Setting
                </p>
            </field>
        </record>
         <record model="ir.actions.act_window" id="service_request_action">
            <field name="name">Services Requests</field>
            <field name="res_model">service.request</field>
            <field name="view_mode">tree,form</field>
            <field name="domain">['|',('is_seasonal','=',False),'&amp;',('is_seasonal','=',True),('state','=','return_to_bank')]</field>
            <field name="help" type="html">
                <p class="oe_view_nocontent_create">Create the Service Request
                </p>
            </field>
        </record>
        <record id="service_request_account_action" model="ir.actions.act_window">
            <field name="name">Services Requests</field>
            <field name="res_model">service.request</field>
            <field name="view_mode">tree,form</field>
            <field name="domain">
                [
                '|',
                '&amp;','&amp;',
                ('is_seasonal','=',False),
                ('state','in',['accounting_approve','return_to_bank','family_received_device','send_request_to_supplier']),
                ('payment_order_state','=','none'),
                '&amp;','&amp;','&amp;',
                ('is_seasonal','=',True),
                ('state','=','accounting_approve'),
                ('payment_order_state','=','none'),
                ('return_reason_id','!=',False)
                ]
            </field>
            <field name="help" type="html">
                <p class="oe_view_nocontent_create">Create the Service Request
                </p>
            </field>
        </record>
        <record model="ir.actions.act_window" id="benefit_need_action">
            <field name="name">Benefit Need</field>
            <field name="res_model">benefit.need</field>
<!--            <field name="view_type">form</field>-->
            <field name="view_mode">tree,form</field>
            <field name="help" type="html">
                <p class="oe_view_nocontent_create">Create the Benefit Need
                </p>
            </field>
        </record>
        <record model="ir.actions.act_window" id="benefit_receive_zkat_action">
            <field name="name">Receive Benefit Zkat</field>
            <field name="res_model">receive.benefit.zkat</field>
<!--            <field name="view_type">form</field>-->
            <field name="view_mode">tree,form</field>
            <field name="help" type="html">
                <p class="oe_view_nocontent_create">receive the Benefit Zkat
                </p>
            </field>
        </record>
        <record model="ir.actions.act_window" id="benefit_zkat_action">
            <field name="name">Benefit Zkat</field>
            <field name="res_model">benefit.zkat</field>
<!--            <field name="view_type">form</field>-->
            <field name="view_mode">tree,form</field>
            <field name="help" type="html">
                <p class="oe_view_nocontent_create">Create the Benefit Zkat
                </p>
            </field>
        </record>
        <record model="ir.actions.act_window" id="benefit_food_surplus_action">
            <field name="name">Food Surplus</field>
            <field name="res_model">benefit.food.surplus</field>
<!--            <field name="view_type">form</field>-->
            <field name="view_mode">tree,form</field>
            <field name="help" type="html">
                <p class="oe_view_nocontent_create">Create the Food Surplus
                </p>
            </field>
        </record>
        <record model="ir.actions.act_window" id="receive_food_basket_action">
            <field name="name">Receive Food Basket</field>
            <field name="res_model">receive.food.basket</field>
<!--            <field name="view_type">form</field>-->
            <field name="view_mode">tree,form</field>
            <field name="help" type="html">
                <p class="oe_view_nocontent_create">Create the receive food basket
                </p>
            </field>
        </record>
        <record model="ir.actions.act_window" id="benefit_food_basket_action">
            <field name="name">Food Basket</field>
            <field name="res_model">benefit.food.basket</field>
<!--            <field name="view_type">form</field>-->
            <field name="view_mode">tree,form</field>
            <field name="help" type="html">
                <p class="oe_view_nocontent_create">Create the food basket
                </p>
            </field>
        </record>
        <record model="ir.actions.act_window" id="receive_appliances_furniture_action">
            <field name="name">Receive Appliances Furniture</field>
            <field name="res_model">receive.appliances.furniture</field>
<!--            <field name="view_type">form</field>-->
            <field name="view_mode">tree,form</field>
            <field name="help" type="html">
                <p class="oe_view_nocontent_create">Create the appliances and furniture
                </p>
            </field>
        </record>
        <record model="ir.actions.act_window" id="benefit_appliances_furniture_action">
            <field name="name">Appliances Furniture</field>
            <field name="res_model">appliances.furniture</field>
<!--            <field name="view_type">form</field>-->
            <field name="view_mode">tree,form</field>
            <field name="help" type="html">
                <p class="oe_view_nocontent_create">Create the appliances and furniture
                </p>
            </field>
        </record>
        <record model="ir.actions.act_window" id="receive_benefit_loans_action">
            <field name="name">Receive Benefit Loans</field>
            <field name="res_model">receive.benefit.loans</field>
<!--            <field name="view_type">form</field>-->
            <field name="view_mode">tree,form</field>
            <field name="help" type="html">
                <p class="oe_view_nocontent_create">Create the Receive benefit Loans
                </p>
            </field>
        </record>
        <record model="ir.actions.act_window" id="benefit_benefit_loans_action">
            <field name="name">Benefit Loans</field>
            <field name="res_model">benefit.loans</field>
<!--            <field name="view_type">form</field>-->
            <field name="view_mode">tree,form</field>
            <field name="help" type="html">
                <p class="oe_view_nocontent_create">Create the benefit Loans
                </p>
            </field>
        </record>
        <record model="ir.actions.act_window" id="benefit_club_action">
            <field name="name">club</field>
            <field name="res_model">benefit.club</field>
<!--            <field name="view_type">form</field>-->
            <field name="view_mode">tree,form</field>
            <field name="help" type="html">
                <p class="oe_view_nocontent_create">Create the club
                </p>
            </field>
        </record>
        <record model="ir.actions.act_window" id="benefit_reports_log_action">
            <field name="name">Generate Reports Log</field>
            <field name="res_model">generate.reports.log</field>
<!--            <field name="view_type">form</field>-->
            <field name="view_mode">tree,form</field>
            <field name="help" type="html">
                <p class="oe_view_nocontent_create">Create the Log
                </p>
            </field>
        </record>
        <record id="benefit_generate_reports_action" model="ir.actions.act_window">
            <field name="name">generate.reports</field>
            <field name="type">ir.actions.act_window</field>
            <field name="res_model">generate.reports</field>
<!--            <field name="view_type">form</field>-->
            <field name="view_mode">form</field>
            <field name="target">new</field>
        </record>
        <record model="ir.actions.act_window" id="benefit_benefits_needs_action_2">
            <field name="name">Benefits Needs</field>
            <field name="res_model">benefits.needs</field>
<!--            <field name="view_type">form</field>-->
            <field name="view_mode">tree,form</field>
            <field name="help" type="html">
                <p class="oe_view_nocontent_create">Create the needs
                </p>
            </field>
        </record>
        <record model="ir.actions.act_window" id="needs_categories_action">
            <field name="name">Benefits Needs Categories</field>
            <field name="res_model">needs.categories</field>
<!--            <field name="view_type">form</field>-->
            <field name="view_mode">tree,form</field>
            <field name="help" type="html">
                <p class="oe_view_nocontent_create">Create the Needs Categories
                </p>
            </field>
        </record>
        <record model="ir.actions.act_window" id="benefit_sms_configuration_action">
            <field name="name">SMS Template</field>
            <field name="res_model">benefit.sms.configuration</field>
<!--            <field name="view_type">form</field>-->
            <field name="view_mode">tree,form</field>
            <field name="help" type="html">
                <p class="oe_view_nocontent_create">Sms Configuration
                </p>
            </field>
        </record>
        <record model="ir.actions.act_window" id="family_complaints_action">
            <field name="name">Family Complaints</field>
            <field name="res_model">family.complaints</field>
            <field name="view_mode">tree,form</field>
            <field name="help" type="html">
                <p class="oe_view_nocontent_create">Create the Family Complaints
                </p>
            </field>
    </record>
        <record model="ir.actions.act_window" id="education_entities_action">
            <field name="name">Education Entities</field>
            <field name="res_model">res.partner</field>
            <field name="view_mode">kanban,form,tree</field>
            <field name="domain">[('is_education_entity','=', True)]</field>
            <field name="context">{'default_is_company':True,'default_is_education_entity':True}</field>
        </record>

        <record model="ir.actions.act_window" id="action_supporter_partners">
            <field name="name">Supporter Entities</field>
            <field name="res_model">res.partner</field>
            <field name="view_mode">kanban,form,tree</field>
            <field name="domain">[('is_supporter','=', True)]</field>
            <field name="context">{'default_is_company':True,'default_is_supporter':True}</field>
        </record>
        <record id="action_property_type_settings" model="ir.actions.act_window">
            <field name="name">Property Type Settings</field>
            <field name="res_model">property.type.settings</field>
            <field name="view_mode">tree,form</field>
            <field name="help" type="html">
                <p class="oe_view_nocontent_create">Create the Property Type
                </p>
            </field>
        </record>

        <!--###########################################################-->
        <!--Benefit Menus-->
        <!--###########################################################-->
        <menuitem id="benefits_root_menu" name="Benefit Management"
                  web_icon="odex_benefit,static/description/icon1.png" groups="odex_benefit.group_benefit_info,odex_benefit.group_benefit_manager,odex_benefit.group_family_services_manager,odex_benefit.group_benefit_researcher,odex_benefit.group_benefit_woman_commitee,odex_benefit.group_benefit_branch_manager"/>
<!--        <menuitem id="benefits_root_menu" name="Benefit Management"/>-->
        <!--#ملفات المستفيدين-->
        <menuitem id="benefit_main_menu" name="Benefit Managements"
                  parent="benefits_root_menu" sequence="1"/>
        <!--social search-->
        <!--البحث الاجتماعي-->
        <menuitem id='social_search_menu' name='social search' parent='benefits_root_menu'
                  sequence="2"/>
<!--         <menuitem id='change_requests_menu' name='Change Requests' parent='social_search_menu'-->
<!--                  sequence="3"/>-->
        <menuitem id='benefit_services' name='Services'
                  parent="benefits_root_menu" sequence="3"/>
        <!-- family complaints -->
        <menuitem id='family_complaints_menu' name='شكاوى عائلية ' parent='benefits_root_menu'
                  sequence="3"/>
         <menuitem id='family_complaints_child_menu' name='شكاوى عائلية ' parent='family_complaints_menu'
                  action="family_complaints_action"
                  sequence="1"/>

        <!--#ملفات المستفيدين-->
        <!--#طلب تسجيل مستفيد مبدئ-->
        <menuitem id="benefit_dashboard_menu" name="Family Profile"
                  parent="benefit_main_menu" action="grant_benefit_dashboard_action" sequence="0"/>
<!--        <menuitem id="benefit_draft_menu" name="Beneficiaries To Draft"-->
<!--                  parent="benefit_main_menu" action="grant_benefit_list_draft_action" sequence="1"/>-->
        <!-- #تسجيل البيانات التفصلية للمستفيدين-->
<!--        <menuitem id="benefit_to_complete_menu" name="Beneficiaries To Complete"-->
<!--                  parent="benefit_main_menu" action="grant_benefit_list_complete_action" sequence="2"/>-->
<!--        &lt;!&ndash;        #ملفات في انتظار الاعتماد&ndash;&gt;-->
<!--        <menuitem id="benefit_waiting_approve_menu" name="Beneficiaries To Waiting Approve"-->
<!--                  parent="benefit_main_menu" action="grant_benefit_to_waiting_approve_action" sequence="3"/>-->
<!--        &lt;!&ndash;#ملفات معتمده&ndash;&gt;-->
<!--        <menuitem id="benefit_approve_menu" name="Beneficiaries Approve"-->
<!--                  parent="benefit_main_menu" action="grant_benefit_approve_action" sequence="4"/>-->
<!--        &lt;!&ndash; #ملفات مستبعده&ndash;&gt;-->
<!--        <menuitem id="benefit_reject_menu" name="Beneficiaries Reject"-->
<!--                  parent="benefit_main_menu" action="grant_benefit_reject_action" sequence="5"/>-->
<!--        &lt;!&ndash;#ملفات في القائمة السوداء&ndash;&gt;-->
<!--        <menuitem id="benefit_black_list_menu" name="Beneficiaries Black List"-->
<!--                  parent="benefit_main_menu" action="grant_benefit_black_list_action" sequence="6"/>-->

        <!--        <menuitem id="benefit_to_accept_menu" name="Beneficiaries To Accept"-->
        <!--                  parent="benefit_main_menu" action="grant_benefit_to_accept_action" sequence="1"/>-->
        <!--        <menuitem id="benefit_menu" name="Beneficiaries" sequence="2"-->
        <!--                  parent="benefit_main_menu" action="grant_benefit_list_action"/>-->
        <!--        <menuitem id="benefit_family_menu" name="Benefit Family" sequence="3"-->
        <!--                  parent="benefit_main_menu" action="benefit_benefit_family_action"/>-->
        <!--        <menuitem id="external_benefit_menu" name="External Benefit" sequence="4"-->
        <!--                  parent="benefit_main_menu" action="external_benefit_action"/>-->
        <!--        <menuitem id="benefit_black_list_menu" name="Beneficiaries Black List" sequence="5"-->
        <!--                  parent="benefit_main_menu" action="grant_benefit_black_list_action"/>-->
        <!--<===============================================================================>-->
        <!--البحث الاجتماعي-->
        <menuitem id="visits_menu" name="Visits" parent="social_search_menu"
                  action="visits_action" sequence="4"/>
        <menuitem id='changes_requests_men' name='Changes Requests' parent='social_search_menu'
                  action="changes_requests_action"
                  sequence="5"/>
<!--        <menuitem id="benefit_generate_needs" name="needs Screen" parent="benefits_root_menu"-->
<!--                  action="benefit_benefits_needs_action_2" sequence="5"/>-->
<!--        <menuitem id='benefit_report' name='Reports' parent='benefits_root_menu'-->
<!--                  sequence="6"/>-->
<!--        <menuitem id="benefit_reports" name="Generate report" parent="benefits_root_menu"-->
<!--                  sequence="7"/>-->
<!--        <menuitem id="benefit_generate_reports" name="Generate report Screen" parent="benefit_reports"-->
<!--                  action="benefit_generate_reports_action"-->
<!--                  sequence="1"/>-->
<!--        <menuitem id="benefit_reports_log" name="Generate report log" parent="benefit_reports"-->
<!--                  action="benefit_reports_log_action"-->
<!--                  sequence="2"/>-->
        <menuitem id='benefit_tools' name='Tools' parent='benefits_root_menu'
                  sequence="8" groups="odex_benefit.group_benefit_settings"/>

         <!--benefit vehicle model-->
        <menuitem id="benefit_vehicle_model_settings_menu" name="General Settings" parent="odex_benefit.benefit_tools" sequence="4"/>
        <menuitem id='benefit_vehicle_model_menu' name='Vehicle Model' parent='benefit_vehicle_model_settings_menu' action="benefit_vehicle_model_action" sequence="1"/>
        <!--social search-->
        <!--اللجان-->
        <menuitem id="social_search_settings_menu" name="Social Search Settings" parent="odex_benefit.benefit_tools" sequence="4"/>
        <menuitem id='social_search_committees_menu' name='Social Research Teams' parent='social_search_settings_menu' action="action_social_search_committees" sequence="1"/>

        <!--###########################################################-->
        <!--benefit config-->
        <!--###########################################################-->
        <!--        <menuitem id="benefits_representative_menu" name="Benefits Representative" parent="benefit_config"-->
        <!--                  action="benefits_representative_action"-->
        <!--                  sequence="1"/>-->
        <menuitem
                id="menu_benefits_config_organizing"
                name="Organizing"
                parent="benefit_tools"
                sequence="2"
        />
        <menuitem
                id="menu_visits_types"
                name="Visits Types"
                parent="benefit_vehicle_model_settings_menu"
                action="visits_types_action"
                sequence="9"
        />
        <menuitem
                id="menu_suspend_reason"
                name="Reasons of Suspension and Refusal"
                parent="benefit_tools"
                action="suspend_reason_action"
                sequence="101"
        />
        <menuitem
                id="menu_jobs_settings"
                name="Jobs Settings"
                parent="menu_benefits_config_organizing"
                action="odex_benefit.action_job_settings_act_window"
                sequence="110"
        />
        <menuitem
                id="menu_death_reasons_settings"
                name="Death Reason Settings"
                parent="menu_benefits_config_organizing"
                action="odex_benefit.action_death_reason_settings_act_window"
                sequence="115"
        />
        <menuitem
                id="menu_property_type_settings"
                name="Property Type Settings"
                parent="benefit_vehicle_model_settings_menu"
                action="action_property_type_settings"
                sequence="11"
        />
        <menuitem
                id="family_validation_location"
                name="Family Validation Setting"
                parent="menu_benefits_config_organizing"
                action="family_validation_action"
                sequence="12"
        />
        <menuitem id="benefit_category_menu" name="category" parent="menu_benefits_config_organizing"
                  action="category_action"
                  sequence="2"/>
        <menuitem id="relation_settings_menu" name="Relation Settings" parent="menu_benefits_config_organizing"
                  action="relation_action"
                  sequence="3"/>
        <menuitem id="location_settings_menu" name="إعدادات الموقع" parent="menu_benefits_config_organizing"
                  action="location_action"
                  sequence="4"/>
        <menuitem id="marital_status_menu" name="Marital Status" parent="menu_benefits_config_organizing"
                  action="marital_status_action"
                  sequence="5"/>
        <menuitem id="age_category_menu" name="فئة العمر" parent="menu_benefits_config_organizing"
                  action="age_category_action"
                  sequence="6"/>
        <menuitem id="complaints_category_menu" name="تصنيف الشكوى" parent="benefit_vehicle_model_settings_menu"
                  action="complaints_category_action"
                  sequence="7"/>
<!--        <menuitem id="hobbies_settings_menu" name="Hobbies Settings" parent="menu_benefits_config_organizing"-->
<!--                  action="hobbies_settings_action"-->
<!--                  sequence="4"/>-->
<!--        <menuitem id="disabilities_settings_menu" name="Disabilities Settings" parent="menu_benefits_config_organizing"-->
<!--                  action="disabilities_settings_action"-->
<!--                  sequence="5"/>-->
<!--        <menuitem id="diseases_settings_menu" name="Diseases Settings" parent="menu_benefits_config_organizing"-->
<!--                  action="diseases_settings_action"-->
<!--                  sequence="6"/>-->
<!--        <menuitem id="benefit_families_menu" name="Families" parent="menu_benefits_config_organizing"-->
<!--                  action="family_action"-->
<!--                  sequence="3"/>-->
<!--        <menuitem id="benefit_housing_menu" name="Housing" parent="menu_benefits_config_organizing"-->
<!--                  action="housing_action"-->
<!--                  sequence="4"/>-->

        <!--###########################################################-->
        <!-- Benefit / Tools-->
        <!--###########################################################-->
        <menuitem
                id="menu_benefits_config_addresses"
                name="Addresses"
                parent="benefit_tools"
                sequence="1"
        />
        <menuitem id="res_states_menu" name="States" sequence="1"
                  parent="menu_benefits_config_addresses" action="action_country_state_benefit"/>
        <menuitem id="res_city_menu" name="Cities" sequence="2"
                  parent="menu_benefits_config_addresses" action="res_city_list_action"/>
        <menuitem id="res_branch_menu" name="Branch Settings" sequence="4"
                  parent="menu_benefits_config_addresses" action="res_branch_action"/>
        <menuitem id="res_district_menu" name="Districts" sequence="5"
                  parent="menu_benefits_config_addresses" action="districts_action"/>
        <!-- Attachment Settings menu -->
           <menuitem
                id="menu_attachment_settings"
                name="Attachments Settings"
                parent="benefit_tools"
                sequence="3"/>
        <menuitem id="attachment_settings_menu" name="Attachments Settings"
                  parent="menu_attachment_settings" action="attachments_settings_action" sequence="1"/>
        <!-- Housing Settings -->
        <menuitem
                id="menu_benefits_config_housing"
                name="Housing"
                parent="benefit_tools"
                sequence="5"
        />
<!--        <menuitem id="housing_rooms_items_menu" name="Rooms Items"-->
<!--                  parent="menu_benefits_config_housing" action="housing_rooms_items_action" sequence="1"/>-->
<!--        <menuitem id="housing_rooms_type_menu" name="Rooms Type"-->
<!--                  parent="menu_benefits_config_housing" action="housing_rooms_type_action" sequence="2"/>-->
<!--        <menuitem id="housing_rooms_categories_menu" name="Rooms Categories"-->
<!--                  parent="menu_benefits_config_housing" action="rooms_categories_action" sequence="3"/>-->
<!--        <menuitem id="domestic_labor_menu" name="The domestic labor" sequence="3"-->
<!--                  parent="menu_benefits_config_housing" action="domestic_labor_action"/>-->
<!--        <menuitem id="item_status_menu" name="Item Status"-->
<!--                  parent="menu_benefits_config_housing" action="item_status_action" sequence="4"/>-->
        <menuitem
                id="menu_benefits_config_benefits"
                name="Contacts"
                parent="benefit_tools"
                sequence="6"/>
        <menuitem id="res_bank_menu" name="Banks" parent="menu_benefits_config_benefits" action="res_bank_list_action"
                  sequence="1"/>
<!--        <menuitem id="hospital_menu" name="Hospital" parent="menu_benefits_config_benefits" action="hospital_action"-->
<!--                  sequence="2"/>-->
<!--        <menuitem id="insurance_company_menu" name="Insurance Company" parent="menu_benefits_config_benefits"-->
<!--                  action="insurance_company_action" sequence="3"/>-->
        <menuitem id="loan_giver_menu" name="Loan Giver"
                  parent="menu_benefits_config_benefits" action="loan_giver_action" sequence="9"/>
<!--        <menuitem id="sport_type_menu" name="Sport Type"-->
<!--                  parent="menu_benefits_config_benefits" action="sport_type_action" sequence="5"/>-->
<!--        <menuitem id="needs_categories_menu" name="Needs Categories"-->
<!--                  parent="menu_benefits_config_benefits" action="needs_categories_action" sequence="6"/>-->
        <menuitem
                id="menu_benefits_config_contact"
                name="contact"
                parent="benefit_tools"
                sequence="7"/>
        <menuitem id="sms_config_menu" name="SMS Template" sequence="12"
                  parent="menu_benefits_config_contact" action="benefit_sms_configuration_action"/>
        <menuitem id="email_menu" name="Email Template" sequence="13"
                  parent="menu_benefits_config_contact" action="email_list_action"/>
        <menuitem
                id="menu_benefits_config_others"
                name="Reasons Settings"
                parent="benefit_tools"
                sequence="8"
        />
<!--        <menuitem id="main_service_menu" name="Service Types" parent="benefit_tools"-->
<!--                  action="main_service_action" sequence="7"/>-->
        <menuitem id="exception_reason_menu" name="Exception Reason" parent="menu_benefits_config_others"
                  action="exception_reason_action" sequence="8"/>
        <menuitem id="loan_reason_menu" name="Loan Reason"
                  parent="menu_benefits_config_others" action="loan_reason_action" sequence="10"/>
<!--        <menuitem id="other_associations_menu" name="Other Associations"-->
<!--                  parent="menu_benefits_config_others" action="other_associations_action" sequence="1"/>-->
        <!--##########################################-->
        <!-- Benefit Services menu-->
        <!--##########################################-->
<!--        <menuitem id="services_settings_menu" name="Services Settings" sequence="100"-->
<!--                  parent="odex_benefit.benefit_services"/>-->
        <menuitem id="benefit_tools_services_settings_menu" name="Services Settings"
            parent="odex_benefit.benefit_tools" sequence="4"/>

        <menuitem id="services_settings_menu" name="Services Settings" sequence="100"
                  parent="odex_benefit.benefit_tools_services_settings_menu" action="services_settings_action" groups="odex_benefit.group_benefit_manager,odex_benefit.group_family_services_manager"/>
        <menuitem id="services_requests_menu" name="Services Requests" sequence="2"
                  parent="odex_benefit.benefit_services" action="service_request_action"/>
        <menuitem id="services_requests_account_menu" name="Services Requests" sequence="9"
                  parent="account.menu_finance_payables" action="service_request_account_action"/>

<!--        <menuitem id="family_member_main_menu" name="Family Members"-->
<!--            parent="benefits_root_menu" sequence="2"/>-->
        <menuitem id="family_member_menu" name="Family Members"
            parent="benefit_main_menu" action="family_member_action" sequence="0"/>
        <menuitem id="education_main_menu" name="Education Settings"
            parent="odex_benefit.benefit_tools" sequence="120"/>
        <menuitem id="education_entities_menu" name="Education Entities"
                  parent="education_main_menu" action="education_entities_action" sequence="0"/>
        <menuitem id="supporter_partners_menu" name="Supporter Entities"
                  parent="menu_benefits_config_benefits" action="action_supporter_partners" sequence="19"/>
        <menuitem id="education_level_menu" name="Education Level"
                  parent="education_main_menu" action="education_level_action" sequence="1"/>
        <menuitem id="education_period_menu"
              name="Education Periods"
              parent="education_main_menu"
              action="education_period_action"
              sequence="2"/>
         <menuitem id="specialization_menu" name="Specialization"
                  parent="education_main_menu" action="specialization_action" sequence="3"/>
        <menuitem id="education_classroom_menu" name="Education Classroom"
                  parent="education_main_menu" action="education_classroom_action" sequence="4"/>
        <menuitem id="education_result_menu" name="Education Result"
                  parent="education_main_menu" action="education_result_action" sequence="5"/>
        <menuitem id="study_material_menu" name="Study Material"
                  parent="education_main_menu" action="study_material_action" sequence="6"/>
        <menuitem id="illiterate_reason_menu" name="Education Illiterate Reason"
            parent="education_main_menu" action="education_illiterate_reason_action" sequence="7"/>
        <menuitem id="delay_reason_menu" name="Education Delay Reason"
            parent="education_main_menu" action="education_delay_reason_action" sequence="8"/>
        <menuitem id="education_exam_type_menu" name="Exams Type"
            parent="education_main_menu" action="education_exam_type_action" sequence="9"/>
        <menuitem id="menu_confirm_benefit_expense" name="Benefit Expense Flow" parent="odex_benefit.benefit_services"
            action="action_confirm_benefit_expense" sequence="11" groups="odex_benefit.group_family_services_manager,odex_benefit.group_benefit_manager"/>
        <menuitem id="menu_bank_return_benefit_expense" name="Bank Return Processing" parent="odex_benefit.benefit_services"
            action="action_bank_return_benefit_expense" sequence="15" groups="odex_benefit.group_benefit_researcher,odex_benefit.group_family_services_manager,odex_benefit.group_benefit_manager"/>
        <menuitem id="menu_family_bank_report_root"
              name="Family Bank Report"
              parent="account.menu_finance_payables"
              action="action_family_bank_report_wizard"
              sequence="12"/>
        <menuitem id="menu_payment_orders" name="Payment Orders"
            parent="account.menu_finance_payables"
            action="action_payment_orders" sequence="10" />
        <menuitem id="seasonal_service_menu" name="Seasonal Services" groups="odex_benefit.group_family_services_manager,odex_benefit.group_benefit_manager"
            parent="odex_benefit.benefit_services" sequence="3" action="seasonal_service_action" />
        <menuitem id="menu_refuse_reason" name="Service Refuse Reasons" parent="odex_benefit.benefit_tools_services_settings_menu" action="action_refuse_reason"/>
        <menuitem name="Others"
              id="menu_accounting_others"
              parent="account.menu_finance_configuration"
              sequence="15"
        />
        <menuitem name="Return Reasons"
                  id="menu_return_reason"
                  parent="menu_accounting_others"
                  action="return_reason_action"
        />

    </data>
</odoo>
