This repository has been archived by the owner on Dec 30, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 18
/
period.xml
130 lines (123 loc) · 5.88 KB
/
period.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
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
<?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="period_view_form">
<field name="model">stock.period</field>
<field name="type">form</field>
<field name="name">period_form</field>
</record>
<record model="ir.ui.view" id="period_view_list">
<field name="model">stock.period</field>
<field name="type">tree</field>
<field name="name">period_list</field>
</record>
<record model="ir.action.act_window" id="act_period_list">
<field name="name">Periods</field>
<field name="res_model">stock.period</field>
</record>
<record model="ir.action.act_window.view" id="act_period_list_view1">
<field name="sequence" eval="10"/>
<field name="view" ref="period_view_list"/>
<field name="act_window" ref="act_period_list"/>
</record>
<record model="ir.action.act_window.view" id="act_period_list_view2">
<field name="sequence" eval="20"/>
<field name="view" ref="period_view_form"/>
<field name="act_window" ref="act_period_list"/>
</record>
<menuitem
parent="menu_configuration"
action="act_period_list"
sequence="30"
id="menu_period_list"/>
<record model="ir.rule.group" id="rule_group_period_companies">
<field name="name">User in companies</field>
<field name="model" search="[('model', '=', 'stock.period')]"/>
<field name="global_p" eval="True"/>
</record>
<record model="ir.rule" id="rule_period_companies">
<field name="domain"
eval="[('company', 'in', Eval('companies', []))]"
pyson="1"/>
<field name="rule_group" ref="rule_group_period_companies"/>
</record>
<record model="ir.model.access" id="access_period">
<field name="model" search="[('model', '=', 'stock.period')]"/>
<field name="perm_read" eval="False"/>
<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_period_stock">
<field name="model" search="[('model', '=', 'stock.period')]"/>
<field name="group" ref="group_stock"/>
<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_period_admin">
<field name="model" search="[('model', '=', 'stock.period')]"/>
<field name="group" ref="group_stock_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>
<record model="ir.model.button" id="period_draft_button">
<field name="name">draft</field>
<field name="string">Draft</field>
<field name="model" search="[('model', '=', 'stock.period')]"/>
</record>
<record model="ir.model.button-res.group"
id="period_draft_button_group_stock_admin">
<field name="button" ref="period_draft_button"/>
<field name="group" ref="group_stock_admin"/>
</record>
<record model="ir.model.button" id="period_close_button">
<field name="name">close</field>
<field name="string">Close</field>
<field name="model" search="[('model', '=', 'stock.period')]"/>
</record>
<record model="ir.model.button-res.group"
id="period_close_button_group_stock_admin">
<field name="button" ref="period_close_button"/>
<field name="group" ref="group_stock_admin"/>
</record>
<record model="ir.ui.view" id="period_cache_view_form">
<field name="model">stock.period.cache</field>
<field name="type">form</field>
<field name="name">period_cache_form</field>
</record>
<record model="ir.ui.view" id="period_cache_view_list">
<field name="model">stock.period.cache</field>
<field name="type">tree</field>
<field name="name">period_cache_list</field>
</record>
<record model="ir.model.access" id="access_period_cache_cache">
<field name="model" search="[('model', '=', 'stock.period.cache')]"/>
<field name="perm_read" eval="False"/>
<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_period_cache_cache_stock">
<field name="model" search="[('model', '=', 'stock.period.cache')]"/>
<field name="group" ref="group_stock"/>
<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_period_cache_admin">
<field name="model" search="[('model', '=', 'stock.period.cache')]"/>
<field name="group" ref="group_stock_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>