<?xml version="1.0"?>
<odoo>
    <data>
        <record id="im_livechat_channel_conversation_tag_view_list" model="ir.ui.view">
            <field name="name">im.livechat.channel.conversation.tag.list</field>
            <field name="model">im_livechat.conversation.tag</field>
            <field name="arch" type="xml">
                <list string="Tags" editable="bottom" sample="1" duplicate="0">
                    <field name="name"/>
                    <field name="color" widget="color_picker"/>
                </list>
            </field>
        </record>

        <record id="im_livechat_channel_conversation_tag_view_form" model="ir.ui.view">
            <field name="name">im.livechat.channel.conversation.tag.form</field>
            <field name="model">im_livechat.conversation.tag</field>
            <field name="arch" type="xml">
                <form string="Tags">
                    <sheet>
                        <group>
                            <field name="name"/>
                            <field name="color" widget="color_picker"/>
                        </group>
                    </sheet>
                </form>
            </field>
        </record>

        <record id="livechat_conversation_tag_action" model="ir.actions.act_window">
            <field name="name">Tags</field>
            <field name="res_model">im_livechat.conversation.tag</field>
            <field name="view_mode">list,form</field>
        </record>
    </data>
</odoo>
