This repository has been archived by the owner on Dec 31, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2
/
forecast.xml
161 lines (150 loc) · 7.23 KB
/
forecast.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
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
<?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="res.group" id="group_stock_forecast">
<field name="name">Stock Forecast</field>
</record>
<record model="res.user-res.group"
id="user_admin_group_stock_forecast">
<field name="user" ref="res.user_admin"/>
<field name="group" ref="group_stock_forecast"/>
</record>
<record model="ir.action.wizard" id="wizard_forecast_complete">
<field name="name">Complete Forecast</field>
<field name="wiz_name">stock.forecast.complete</field>
<field name="model">stock.forecast</field>
</record>
<record model="ir.ui.view" id="forecast_view_form">
<field name="model">stock.forecast</field>
<field name="type">form</field>
<field name="name">forecast_form</field>
</record>
<record model="ir.ui.view" id="forecast_view_tree">
<field name="model">stock.forecast</field>
<field name="type">tree</field>
<field name="name">forecast_tree</field>
</record>
<record model="ir.action.act_window" id="act_forecast_form">
<field name="name">Forecasts</field>
<field name="res_model">stock.forecast</field>
<field name="search_value"></field>
</record>
<record model="ir.action.act_window.view"
id="act_forecast_form_view1">
<field name="sequence" eval="1"/>
<field name="view" ref="forecast_view_tree"/>
<field name="act_window" ref="act_forecast_form"/>
</record>
<record model="ir.action.act_window.view"
id="act_forecast_form_view2">
<field name="sequence" eval="2"/>
<field name="view" ref="forecast_view_form"/>
<field name="act_window" ref="act_forecast_form"/>
</record>
<record model="ir.action.act_window.domain" id="act_forecast_form_domain_draft">
<field name="name">Draft</field>
<field name="sequence" eval="10"/>
<field name="domain" eval="[('state', '=', 'draft')]" pyson="1"/>
<field name="act_window" ref="act_forecast_form"/>
</record>
<record model="ir.action.act_window.domain" id="act_forecast_form_domain_done">
<field name="name">Done</field>
<field name="sequence" eval="20"/>
<field name="domain" eval="[('state', '=', 'done')]" pyson="1"/>
<field name="act_window" ref="act_forecast_form"/>
</record>
<record model="ir.action.act_window.domain" id="act_forecast_form_domain_all">
<field name="name">All</field>
<field name="sequence" eval="9999"/>
<field name="domain"></field>
<field name="act_window" ref="act_forecast_form"/>
</record>
<menuitem
parent="stock.menu_stock"
action="act_forecast_form"
sequence="50"
id="menu_forecast_form"/>
<record model="ir.ui.view" id="forecast_line_view_form">
<field name="model">stock.forecast.line</field>
<field name="type">form</field>
<field name="name">forecast_line_form</field>
</record>
<record model="ir.ui.view" id="forecast_line_view_tree">
<field name="model">stock.forecast.line</field>
<field name="type">tree</field>
<field name="name">forecast_line_tree</field>
</record>
<record model="ir.ui.view" id="forecast_complete_ask_view_form">
<field name="model">stock.forecast.complete.ask</field>
<field name="type">form</field>
<field name="name">forecast_complete_ask_form</field>
</record>
<record model="ir.ui.view" id="forecast_complete_choose_view_form">
<field name="model">stock.forecast.complete.choose</field>
<field name="type">form</field>
<field name="name">forecast_complete_choose_form</field>
</record>
<record model="ir.rule.group" id="rule_group_forecast_companies">
<field name="name">User in companies</field>
<field name="model" search="[('model', '=', 'stock.forecast')]"/>
<field name="global_p" eval="True"/>
</record>
<record model="ir.rule" id="rule_forecast_companies">
<field name="domain"
eval="[('company', 'in', Eval('companies', []))]"
pyson="1"/>
<field name="rule_group" ref="rule_group_forecast_companies"/>
</record>
<record model="ir.model.access" id="access_forecast">
<field name="model" search="[('model', '=', 'stock.forecast')]"/>
<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_forecast_group_stock">
<field name="model" search="[('model', '=', 'stock.forecast')]"/>
<field name="group" ref="group_stock_forecast"/>
<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="forecast_cancel_button">
<field name="name">cancel</field>
<field name="string">Cancel</field>
<field name="model" search="[('model', '=', 'stock.forecast')]"/>
</record>
<record model="ir.model.button-res.group"
id="forecaset_cancel_button_group_stock_forecast">
<field name="button" ref="forecast_cancel_button"/>
<field name="group" ref="group_stock_forecast"/>
</record>
<record model="ir.model.button" id="forecast_draft_button">
<field name="name">draft</field>
<field name="string">Draft</field>
<field name="model" search="[('model', '=', 'stock.forecast')]"/>
</record>
<record model="ir.model.button-res.group"
id="forecaset_draft_button_group_stock_forecast">
<field name="button" ref="forecast_draft_button"/>
<field name="group" ref="group_stock_forecast"/>
</record>
<record model="ir.model.button" id="forecast_confirm_button">
<field name="name">confirm</field>
<field name="string">Confirm</field>
<field name="model" search="[('model', '=', 'stock.forecast')]"/>
</record>
<record model="ir.model.button-res.group"
id="forecaset_confirm_button_group_stock_forecast">
<field name="button" ref="forecast_confirm_button"/>
<field name="group" ref="group_stock_forecast"/>
</record>
<record model="ir.model.button" id="forecast_complete_button">
<field name="name">complete</field>
<field name="model" search="[('model', '=', 'stock.forecast')]"/>
</record>
</data>
</tryton>