mirror of
https://github.com/NaN-tic/trytond-galatea_team.git
synced 2023-12-14 03:22:52 +01:00
65 lines
2.8 KiB
XML
65 lines
2.8 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<tryton>
|
|
<data>
|
|
<record model="res.group" id="group_galatea_team">
|
|
<field name="name">Galatea Team</field>
|
|
</record>
|
|
<record model="res.user-res.group" id="user_admin_group_galatea_team">
|
|
<field name="user" ref="res.user_admin"/>
|
|
<field name="group" ref="group_galatea_team"/>
|
|
</record>
|
|
|
|
<menuitem id="menu_galatea_team" parent="galatea.menu_galatea" name="Team"/>
|
|
<record model="ir.ui.menu-res.group" id="menu_group_galatea_team">
|
|
<field name="menu" ref="menu_galatea_team"/>
|
|
<field name="group" ref="group_galatea_team"/>
|
|
</record>
|
|
|
|
<!-- galatea.team -->
|
|
<record model="ir.ui.view" id="team_view_form">
|
|
<field name="model">galatea.team</field>
|
|
<field name="type">form</field>
|
|
<field name="name">team_form</field>
|
|
</record>
|
|
<record model="ir.ui.view" id="team_view_tree">
|
|
<field name="model">galatea.team</field>
|
|
<field name="type">tree</field>
|
|
<field name="name">team_tree</field>
|
|
</record>
|
|
|
|
<!-- Actions / Menu -->
|
|
<record model="ir.action.act_window" id="act_team_form">
|
|
<field name="name">Teams</field>
|
|
<field name="res_model">galatea.team</field>
|
|
</record>
|
|
<record model="ir.action.act_window.view" id="act_team_form_view1">
|
|
<field name="sequence" eval="10"/>
|
|
<field name="view" ref="team_view_tree"/>
|
|
<field name="act_window" ref="act_team_form"/>
|
|
</record>
|
|
<record model="ir.action.act_window.view" id="act_team_form_view2">
|
|
<field name="sequence" eval="20"/>
|
|
<field name="view" ref="team_view_form"/>
|
|
<field name="act_window" ref="act_team_form"/>
|
|
</record>
|
|
<menuitem parent="menu_galatea_team" action="act_team_form"
|
|
id="menu_team_form"/>
|
|
|
|
<!-- Access -->
|
|
<record model="ir.model.access" id="access_group_galatea_team">
|
|
<field name="model" search="[('model', '=', 'galatea.team')]"/>
|
|
<field name="group" ref="group_galatea_team"/>
|
|
<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>
|
|
<record model="ir.model.access" id="access_galatea_team">
|
|
<field name="model" search="[('model', '=', 'galatea.team')]"/>
|
|
<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>
|
|
</data>
|
|
</tryton>
|