<?xml version="1.0"?>
<odoo>

    <record id="mail_guest_view_tree" model="ir.ui.view">
        <field name="name">mail.guest.tree</field>
        <field name="model">mail.guest</field>
        <field name="priority">10</field>
        <field name="arch" type="xml">
            <tree string="Guests">
                <field name="id"/>
                <field name="name"/>
                <field name="country_id"/>
                <field name="lang"/>
                <field name="timezone"/>
            </tree>
        </field>
    </record>

    <record id="mail_guest_view_form" model="ir.ui.view">
        <field name="name">mail.guest.form</field>
        <field name="model">mail.guest</field>
        <field name="arch" type="xml">
            <form string="Guest">
                <sheet>
                    <group>
                        <group>
                            <field name="name"/>
                            <field name="country_id"/>
                        </group>
                        <group>
                            <field name="lang"/>
                            <field name="timezone"/>
                            <field name="channel_ids" widget="many2many_tags"/>
                        </group>
                    </group>
                </sheet>
            </form>
        </field>
    </record>

    <record id="mail_guest_action" model="ir.actions.act_window">
        <field name="name">Guests</field>
        <field name="res_model">mail.guest</field>
        <field name="view_mode">tree,form</field>
    </record>

</odoo>
