<?xml version="1.0" encoding="UTF-8"?>
<odoo>
    <data>
        <record model="ir.ui.view" id="exely_raw_customers_view_list">
            <field name="name">exely.raw.customers.tree</field>
            <field name="model">exely.raw.customers</field>
            <field name="arch" type="xml">
                <list>
                    <field name="bid"/>
                    <field name="json_data"/>
                    <field name="json_hash_code"/>
                    <field name="create_date"/>
                    <field name="write_date"/>
                </list>
            </field>
        </record>

        <record model="ir.ui.view" id="exely_raw_customers_view_form">
            <field name="name">exely.raw.customers.form</field>
            <field name="model">exely.raw.customers</field>
            <field name="arch" type="xml">
                <form edit="0">
                    <header>

                    </header>
                    <sheet>
                        <group class="oe_title">
                            <h1><field name="bid"/></h1>
                        </group>
                        <group>
                            <field name="json_hash_code"/>
                            <field name="json_data"/>
                        </group>
                        <group>
                            <field name="create_date"/>
                            <field name="write_date"/>
                        </group>
                        <group>
                            <field name="history_ids">
                                <list editable="bottom">
                                    <field name="bid"/>
                                    <field name="json_data"/>
                                    <field name="json_hash_code"/>
                                    <field name="create_date"/>
                                    <field name="write_date"/>
                                </list>
                            </field>
                        </group>
                    </sheet>                            
                </form>
            </field>
        </record>

        <record model="ir.actions.act_window" id="exely_raw_customers_action">
            <field name="name">exely.raw.customers</field>
            <field name="res_model">exely.raw.customers</field>
            <field name="view_mode">list,form</field>
            <field name="help" type="html">
                <p class="o_view_nocontent_smiling_face">
                    Create your first raw customers record.
                </p>
            </field>
        </record>

        <menuitem name="Raw Customers" id="exely_raw_customers_submenu" parent="exely_integration_submenu" action="exely_raw_customers_action" sequence="50"/>
    </data>
</odoo>
