<?xml version="1.0"?>
<!-- This file is part of Tryton.  The COPYRIGHT file at the top level of
     this repository contains the full copyright notices and license terms. -->
<tryton>
    <data>
        <record model="ir.ui.view" id="icon_view_tree">
            <field name="model">ir.ui.icon</field>
            <field name="type">tree</field>
            <field name="arch" type="xml">
                <![CDATA[
                <tree string="Icons" sequence="sequence">
                    <field name="name" icon="name"/>
                    <field name="module"/>
                    <field name="path"/>
                    <field name="sequence" tree_invisible="1"/>
                </tree>
                ]]>
            </field>
        </record>
        <record model="ir.ui.view" id="icon_view_form">
            <field name="model">ir.ui.icon</field>
            <field name="type">form</field>
            <field name="arch" type="xml">
                <![CDATA[
                <form string="Icon">
                    <label name="name"/>
                    <field name="name"/>
                    <label name="sequence"/>
                    <field name="sequence"/>
                    <label name="module"/>
                    <field name="module"/>
                    <label name="path"/>
                    <field name="path"/>
                </form>
                ]]>
            </field>
        </record>
        <record model="ir.action.act_window" id="act_icon_form">
            <field name="name">Icons</field>
            <field name="res_model">ir.ui.icon</field>
        </record>
        <record model="ir.action.act_window.view"
            id="act_icon_form_view1">
            <field name="sequence" eval="10"/>
            <field name="view" ref="icon_view_tree"/>
            <field name="act_window" ref="act_icon_form"/>
        </record>
        <record model="ir.action.act_window.view"
            id="act_icon_form_view2">
            <field name="sequence" eval="20"/>
            <field name="view" ref="icon_view_form"/>
            <field name="act_window" ref="act_icon_form"/>
        </record>
        <menuitem parent="menu_ui"
            action="act_icon_form" id="menu_icon_form"/>
    </data>
</tryton>
