<?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="res.group" id="group_admin">
            <field name="name">Administration</field>
        </record>
        <record model="ir.ui.view" id="group_view_form">
            <field name="model">res.group</field>
            <field name="type">form</field>
            <field name="name">group_form</field>
        </record>
        <record model="ir.ui.view" id="group_view_tree">
            <field name="model">res.group</field>
            <field name="type">tree</field>
            <field name="name">group_list</field>
        </record>
        <record model="ir.action.act_window" id="act_group_form">
            <field name="name">Groups</field>
            <field name="type">ir.action.act_window</field>
            <field name="res_model">res.group</field>
        </record>
        <record model="ir.action.act_window.view"
            id="act_group_form_view1">
            <field name="sequence" eval="1"/>
            <field name="view" ref="group_view_tree"/>
            <field name="act_window" ref="act_group_form"/>
        </record>
        <record model="ir.action.act_window.view"
            id="act_group_form_view2">
            <field name="sequence" eval="2"/>
            <field name="view" ref="group_view_form"/>
            <field name="act_window" ref="act_group_form"/>
        </record>
        <menuitem
            parent="res.menu_res"
            action="act_group_form"
            sequence="20"
            id="menu_group_form"/>

        <record model="ir.model.access" id="access_group">
            <field name="model">res.group</field>
            <field name="perm_read" eval="True"/>
            <field name="perm_write" eval="False"/>
            <field name="perm_create" eval="False"/>
            <field name="perm_delete" eval="False"/>
        </record>
        <record model="ir.model.access" id="access_group_admin">
            <field name="model">res.group</field>
            <field name="group" ref="group_admin"/>
            <field name="perm_read" eval="True"/>
            <field name="perm_write" eval="True"/>
            <field name="perm_create" eval="True"/>
            <field name="perm_delete" eval="True"/>
        </record>
    </data>
</tryton>
