-
Notifications
You must be signed in to change notification settings - Fork 2
/
configuration.xml
57 lines (55 loc) · 2.5 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
45
46
47
48
49
50
51
52
53
54
55
56
57
<?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="product_configuration_view_form">
<field name="model">product.configuration</field>
<field name="type">form</field>
<field name="name">configuration_form</field>
</record>
<record model="ir.action.act_window"
id="act_product_configuration_form">
<field name="name">Configuration</field>
<field name="res_model">product.configuration</field>
</record>
<record model="ir.action.act_window.view"
id="act_product_configuration_form_view1">
<field name="sequence" eval="10"/>
<field name="view" ref="product_configuration_view_form"/>
<field name="act_window" ref="act_product_configuration_form"/>
</record>
<menuitem
parent="menu_configuration"
action="act_product_configuration_form"
sequence="10"
id="menu_product_configuration"
icon="tryton-list"/>
<record model="ir.ui.menu-res.group"
id="menu_product_configuration_group_product_admin">
<field name="menu" ref="menu_product_configuration"/>
<field name="group" ref="group_product_admin"/>
</record>
<record model="ir.model.access" id="access_product_configuration">
<field name="model" search="[('model', '=', 'product.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_product_configuration_product_admin">
<field name="model" search="[('model', '=', 'product.configuration')]"/>
<field name="group" ref="group_product_admin"/>
<field name="perm_read" eval="True"/>
<field name="perm_write" eval="True"/>
<field name="perm_create" eval="False"/>
<field name="perm_delete" eval="False"/>
</record>
</data>
<data noupdate="1">
<record model="product.configuration.default_cost_price_method"
id="cost_price_method">
<field name="default_cost_price_method">fixed</field>
</record>
</data>
</tryton>