kalenislims/lims_project/user.xml
2020-08-21 14:23:24 -03:00

77 lines
3 KiB
XML

<?xml version="1.0"?>
<tryton>
<data>
<!-- Groups -->
<record model="res.group" id="group_lims_conf_project_readonly">
<field name="name">Lims Configuration Projects Read Only</field>
</record>
<record model="res.group" id="group_lims_conf_project_admin">
<field name="name">Lims Configuration Projects Admin</field>
</record>
<record model="res.user-res.group" id="user_admin_group_lims_conf_project_admin">
<field name="user" ref="res.user_admin"/>
<field name="group" ref="group_lims_conf_project_admin"/>
</record>
<record model="res.group" id="group_lims_project_readonly">
<field name="name">Lims Projects Read Only</field>
</record>
<record model="res.group" id="group_lims_project">
<field name="name">Lims Projects</field>
</record>
<record model="res.user-res.group" id="user_admin_group_lims_project">
<field name="user" ref="res.user_admin"/>
<field name="group" ref="group_lims_project"/>
</record>
<!-- Icons -->
<record model="ir.ui.icon" id="project_icon">
<field name="name">lims-project</field>
<field name="path">icons/project.svg</field>
</record>
<!-- Menu -->
<!-- Laboratory / Configuration / Projects -->
<menuitem name="Projects" id="lims_config_projects"
parent="lims.lims_config" sequence="60"/>
<record model="ir.ui.menu-res.group"
id="menu_config_projects_group_conf_project_readonly">
<field name="menu" ref="lims_config_projects"/>
<field name="group" ref="group_lims_conf_project_readonly"/>
</record>
<record model="ir.ui.menu-res.group"
id="menu_config_projects_group_conf_project_admin">
<field name="menu" ref="lims_config_projects"/>
<field name="group" ref="group_lims_conf_project_admin"/>
</record>
<record model="ir.ui.menu-res.group"
id="menu_config_group_conf_project_readonly">
<field name="menu" ref="lims.lims_config"/>
<field name="group" ref="group_lims_conf_project_readonly"/>
</record>
<record model="ir.ui.menu-res.group"
id="menu_config_group_conf_project_admin">
<field name="menu" ref="lims.lims_config"/>
<field name="group" ref="group_lims_conf_project_admin"/>
</record>
<record model="ir.ui.menu-res.group"
id="menu_lims_laboratory_group_conf_project_readonly">
<field name="menu" ref="lims.lims_laboratory"/>
<field name="group" ref="group_lims_conf_project_readonly"/>
</record>
<record model="ir.ui.menu-res.group"
id="menu_lims_laboratory_group_conf_project_admin">
<field name="menu" ref="lims.lims_laboratory"/>
<field name="group" ref="group_lims_conf_project_admin"/>
</record>
</data>
</tryton>