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
|
<?xml version="1.0"?>
<openerp>
<data noupdate="0">
<!-- Set access to menu -->
<record model="ir.ui.menu" id="sartre_rule_menu">
<field name="groups_id" eval="[(6,0, [ref('base.group_system')])]"/>
</record>
<!-- Set object permissions -->
<record id="ir_model_access_sartre_rule_group_system" model="ir.model.access">
<field name="model_id" ref="model_sartre_rule" />
<field eval="1" name="perm_read" />
<field eval=""""Trigger Rule"""" name="name" />
<field eval="1" name="perm_unlink" />
<field eval="1" name="perm_write" />
<field eval="1" name="perm_create" />
<field name="group_id" ref="base.group_system" />
</record>
<record id="ir_model_access_sartre_rule_condition_group_system" model="ir.model.access">
<field name="model_id" ref="model_sartre_condition" />
<field eval="1" name="perm_read" />
<field eval=""""Trigger Rule Condition"""" name="name" />
<field eval="1" name="perm_unlink" />
<field eval="1" name="perm_write" />
<field eval="1" name="perm_create" />
<field name="group_id" ref="base.group_system" />
</record>
<record id="ir_model_access_sartre_operator_group_system" model="ir.model.access">
<field name="model_id" ref="model_sartre_operator" />
<field eval="1" name="perm_read" />
<field eval=""""Trigger Operator"""" name="name" />
<field eval="0" name="perm_unlink" />
<field eval="1" name="perm_write" />
<field eval="1" name="perm_create" />
<field name="group_id" ref="base.group_system" />
</record>
<record id="ir_model_access_sartre_rule_exception_group_system" model="ir.model.access">
<field name="model_id" ref="model_sartre_exception" />
<field eval="1" name="perm_read" />
<field eval=""""Trigger Rule Exception"""" name="name" />
<field eval="1" name="perm_unlink" />
<field eval="1" name="perm_write" />
<field eval="1" name="perm_create" />
<field name="group_id" ref="base.group_system" />
</record>
<record id="ir_model_access_sartre_log_group_system" model="ir.model.access">
<field name="model_id" ref="model_sartre_log" />
<field eval="1" name="perm_read" />
<field eval=""""Trigger Log"""" name="name" />
<field eval="1" name="perm_unlink" />
<field eval="1" name="perm_write" />
<field eval="1" name="perm_create" />
<field name="group_id" ref="base.group_system" />
</record>
<record id="ir_model_access_sartre_rule_group_user" model="ir.model.access">
<field name="model_id" ref="model_sartre_rule" />
<field eval="1" name="perm_read" />
<field eval=""""Sartre Rule"""" name="name" />
<field eval="0" name="perm_unlink" />
<field eval="0" name="perm_write" />
<field eval="0" name="perm_create" />
<field name="group_id" ref="base.group_user" />
</record>
<record id="ir_model_access_sartre_rule_condition_group_user" model="ir.model.access">
<field name="model_id" ref="model_sartre_condition" />
<field eval="1" name="perm_read" />
<field eval=""""Trigger Rule Condition"""" name="name" />
<field eval="0" name="perm_unlink" />
<field eval="0" name="perm_write" />
<field eval="0" name="perm_create" />
<field name="group_id" ref="base.group_user" />
</record>
<record id="ir_model_access_sartre_operator_group_user" model="ir.model.access">
<field name="model_id" ref="model_sartre_operator" />
<field eval="1" name="perm_read" />
<field eval=""""Trigger Operator"""" name="name" />
<field eval="0" name="perm_unlink" />
<field eval="0" name="perm_write" />
<field eval="0" name="perm_create" />
<field name="group_id" ref="base.group_user" />
</record>
<record id="ir_model_access_sartre_rule_exception_group_user" model="ir.model.access">
<field name="model_id" ref="model_sartre_exception" />
<field eval="1" name="perm_read" />
<field eval=""""Trigger Rule Exception"""" name="name" />
<field eval="0" name="perm_unlink" />
<field eval="0" name="perm_write" />
<field eval="1" name="perm_create" />
<field name="group_id" ref="base.group_user" />
</record>
<record id="ir_model_access_sartre_log_group_user" model="ir.model.access">
<field name="model_id" ref="model_sartre_log" />
<field eval="1" name="perm_read" />
<field eval=""""Trigger Log"""" name="name" />
<field eval="0" name="perm_unlink" />
<field eval="0" name="perm_write" />
<field eval="1" name="perm_create" />
<field name="group_id" ref="base.group_user" />
</record>
</data>
</openerp>
|