<?xml version="1.0" encoding="utf-8"?>
<odoo>
    <!-- Simple KYC Views for Odoo 18 -->
    
    <!-- Form View -->
    <record id="view_kyc_request_form_simple" model="ir.ui.view">
        <field name="name">kyc.request.form.simple</field>
        <field name="model">kyc.request</field>
        <field name="arch" type="xml">
            <form string="KYC Request">
                <header>
                    <button name="action_start_review" type="object" string="Start Review"/>
                    <button name="action_approve" type="object" string="Approve"/>
                    <button name="action_reject" type="object" string="Reject"/>
                    <field name="status" widget="statusbar"/>
                </header>
                <sheet>
                    <group>
                        <field name="name"/>
                        <field name="team_name"/>
                        <field name="team_uuid"/>
                        <field name="status"/>
                        <field name="score"/>
                    </group>
                </sheet>
            </form>
        </field>
    </record>

    <!-- Tree View -->
    <record id="view_kyc_request_tree_simple" model="ir.ui.view">
        <field name="name">kyc.request.tree.simple</field>
        <field name="model">kyc.request</field>
        <field name="arch" type="xml">
            <list string="KYC Requests">
                <field name="name"/>
                <field name="team_name"/>
                <field name="status"/>
                <field name="score"/>
                <field name="create_date"/>
            </list>
        </field>
    </record>

    <!-- Action -->
    <record id="action_kyc_request_simple" model="ir.actions.act_window">
        <field name="name">KYC Requests</field>
        <field name="res_model">kyc.request</field>
        <field name="view_mode">list,form</field>
    </record>

    <!-- Menu -->
    <menuitem id="menu_kyc_main" name="KYC" sequence="10"/>
    <menuitem id="menu_kyc_requests" name="KYC Requests" parent="menu_kyc_main" 
              action="action_kyc_request_simple" sequence="10"/>

</odoo>