<?xml version="1.0" encoding="UTF-8"?>
<odoo>
    <!-- Tree View -->
    <record id="view_sos_inside_sales_activities_tree" model="ir.ui.view">
        <field name="name">sos_inside_sales_activities.tree</field>
        <field name="model">sos_inside_sales_activities</field>
        <field name="arch" type="xml">
            <tree>
                <field name="company_name"/>
                  <field name="location"/>
                   <field name="vertical_domain"/>
                <field name="products"/>
            </tree>
        </field>
    </record>

    <!-- Form View -->
    <record id="view_sos_inside_sales_activities_form" model="ir.ui.view">
        <field name="name">sos_inside_sales_activities.form</field>
        <field name="model">sos_inside_sales_activities</field>
        <field name="arch" type="xml">
            <form>
                <sheet>

       <h2 style="text-align: center;text-transform: uppercase;text-shadow: 1px 1p 1px #140718;color: #65407c;padding:5px;">Leads</h2><hr></hr><br></br>  

                 <group>
                    <group>
                     <field name="sales_person"/>
                        <field name="company_name"/>
                        <field name="entry_date"/>
                        <field name="contact_person"/>
                        <field name="designation"/>
                        <field name="email"/>
                        <field name="mobile_number"/>
                        </group>
                        <group>
                        <field name="website_url"/>
                        <field name="linkedin_profile"/>
                        <field name="products"/>
                        <field name="location"/>
                        <field name="vertical_domain"/>
                        <field name="source"/>
                        <field name="expo_name" invisible="source != 'expo'"/>
                    </group>
                    </group>
                         <notebook>
                  <page string="Follow Up">
                <field name="line_ids">
                                    <tree editable="bottom">
                                    <field name="action_date"/>
                                    <field name="remarks"/>
                                                                  
                                    </tree>
                                 
                                </field>
                  </page>
                  </notebook>
                </sheet>
            </form>
        </field>
    </record>

    <!-- Action -->
    <record id="action_sos_inside_sales_activities" model="ir.actions.act_window">
        <field name="name">Activities Log</field>
        <field name="res_model">sos_inside_sales_activities</field>
        <field name="view_mode">tree,form</field>
    </record>

    <!-- Menu -->
    <menuitem id="menu_sos_inside_sales_activities" name="Activities Log" parent="sos_inside_sales_menu_root" action="action_sos_inside_sales_activities" sequence="2"/>
</odoo>
