<?xml version="1.0" encoding="UTF-8"?>
<odoo>
 <record id="action_customers_form_list" model="ir.actions.act_window">
    <field name="name">Customers</field>
    <field name="type">ir.actions.act_window</field>
    <field name="res_model">sos_inventory_customers</field>
    <field name="view_mode">tree,form,kanban</field>
</record>
    <record id="sos_inventory_customers_view_tree" model="ir.ui.view">
        <field name="name">sos_inventory_customers.view.tree</field>
        <field name="model">sos_inventory_customers</field>
        <field name="arch" type="xml">
            <tree>
                
                <field name="customer_name"/>
                 <field name="customer_location"/>
                 <field name="write_uid" string="Last Edited By" optional="hide"/>
                <field name="write_date" string="Last Edited On" optional="hide"/>

            </tree>
        </field>
    </record>

<record id="sos_inventory_customers_form_view" model="ir.ui.view">
<field name="name">Form</field>
<field name="model">sos_inventory_customers</field>
<field name="arch" type="xml">
<form string="Model Form">

<sheet>
<h2 style="text-align: center;text-transform: uppercase;text-shadow: 1px 1p 1px #140718;color: #65407c;padding:5px;">Customers</h2><hr></hr><br></br>  
<group>
<group>
<field name="customer_name"/>    
</group>
<group>
<field name="customer_location"/>
</group>
</group>

</sheet>
</form>
</field>
</record>

<menuitem id="customers_menu"
              name="Inventory Customers"
              parent="admin_root_menu" action="action_customers_form_list" groups="sos_inventory.sos_management_user"/>

</odoo>
