forked from NaN-tic/trytond-contract
-
Notifications
You must be signed in to change notification settings - Fork 0
/
configuration.xml
44 lines (44 loc) · 2.02 KB
/
configuration.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
<?xml version="1.0"?>
<!-- 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="contract_configuration_view_form">
<field name="model">contract.configuration</field>
<field name="type">form</field>
<field name="name">configuration_form</field>
</record>
<record model="ir.action.act_window"
id="act_contract_configuration_form">
<field name="name">Contracts Configuration</field>
<field name="res_model">contract.configuration</field>
</record>
<record model="ir.action.act_window.view"
id="act_contract_configuration_view1">
<field name="sequence" eval="1"/>
<field name="view" ref="contract_configuration_view_form"/>
<field name="act_window" ref="act_contract_configuration_form"/>
</record>
<menuitem
parent="menu_configuration"
sequence="0"
action="act_contract_configuration_form"
id="menu_contract_configuration"
icon="tryton-list"/>
<record model="ir.model.access" id="access_contract_configuration">
<field name="model" search="[('model', '=', 'contract.configuration')]"/>
<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_contract_configuration_admin">
<field name="model" search="[('model', '=', 'contract.configuration')]"/>
<field name="group" ref="contract.group_contract_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>