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 6
/
Copy pathorder_point.xml
85 lines (82 loc) · 3.92 KB
/
order_point.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
<?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="order_point_view_form">
<field name="model">stock.order_point</field>
<field name="type">form</field>
<field name="name">order_point_form</field>
</record>
<record model="ir.ui.view" id="order_point_view_tree">
<field name="model">stock.order_point</field>
<field name="type">tree</field>
<field name="name">order_point_tree</field>
</record>
<record model="ir.action.act_window" id="act_order_point_form">
<field name="name">Order Points</field>
<field name="res_model">stock.order_point</field>
</record>
<record model="ir.action.act_window.view" id="act_order_point_form_view1">
<field name="sequence" eval="10"/>
<field name="view" ref="order_point_view_tree"/>
<field name="act_window" ref="act_order_point_form"/>
</record>
<record model="ir.action.act_window.view" id="act_order_point_form_view2">
<field name="sequence" eval="20"/>
<field name="view" ref="order_point_view_form"/>
<field name="act_window" ref="act_order_point_form"/>
</record>
<record model="ir.action.act_window.domain"
id="act_order_point_form_domain_purchase">
<field name="name">Purchase</field>
<field name="sequence" eval="10"/>
<field name="domain" eval="[('type', '=', 'purchase')]" pyson="1"/>
<field name="act_window" ref="act_order_point_form"/>
</record>
<record model="ir.action.act_window.domain"
id="act_order_point_form_domain_internal">
<field name="name">Internal</field>
<field name="sequence" eval="20"/>
<field name="domain" eval="[('type', '=', 'internal')]" pyson="1"/>
<field name="act_window" ref="act_order_point_form"/>
</record>
<record model="ir.action.act_window.domain"
id="act_order_point_form_domain_all">
<field name="name">All</field>
<field name="sequence" eval="9999"/>
<field name="act_window" ref="act_order_point_form"/>
</record>
<menuitem
parent="stock.menu_stock"
sequence="50"
action="act_order_point_form"
id="menu_order_point_form"/>
<record model="ir.model.access" id="access_order_point">
<field name="model" search="[('model', '=', 'stock.order_point')]"/>
<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_order_point_admin">
<field name="model" search="[('model', '=', 'stock.order_point')]"/>
<field name="group" ref="stock.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.rule.group" id="rule_group_order_point_companies">
<field name="name">User in companies</field>
<field name="model" search="[('model', '=', 'stock.order_point')]"/>
<field name="global_p" eval="True"/>
</record>
<record model="ir.rule" id="rule_order_point_companies">
<field name="domain"
eval="[('company', 'in', Eval('companies', []))]"
pyson="1"/>
<field name="rule_group" ref="rule_group_order_point_companies"/>
</record>
</data>
</tryton>