-
Notifications
You must be signed in to change notification settings - Fork 8
/
party.xml
142 lines (133 loc) · 4.98 KB
/
party.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
<?xml version="1.0" encoding="UTF-8"?>
<!--
This file is part of Tryton & Nereid. 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="bsure_party_view_form">
<field name="model">party.party</field>
<field name="inherit" ref="party.party_view_form"/>
<field name="arch" type="xml">
<![CDATA[
<data>
<xpath expr="/form/notebook" position="inside">
<page string="Nereid" id="nereid">
<separator string="Nereid Users" colspan="4" id="users"/>
<field name="nereid_users"/>
</page>
</xpath>
</data>
]]>
</field>
</record>
<record model="ir.ui.view" id="party_address_view_form">
<field name="model">party.address</field>
<field name="type">form</field>
<field name="inherit" ref="party.address_view_form"/>
<field name="arch" type="xml">
<![CDATA[
<data>
<xpath expr="/form/field[@name="subdivision"]"
position="after">
<newline/>
<label name="email"/>
<field name="email"/>
<label name="phone"/>
<field name="phone"/>
</xpath>
</data>
]]>
</field>
</record>
<record id="nereid_user_form" model="ir.ui.view">
<field name="model">nereid.user</field>
<field name="type">form</field>
<field name="inherit" ref="party.party_view_form"/>
<field name="arch" type="xml">
<![CDATA[
<data>
<xpath expr="/form"
position="replace_attributes">
<form string="Nereid User" />
</xpath>
<xpath expr="/form/group[@id='checkboxes']" position="after">
<label name="email" />
<field name="email" />
<label name="password" />
<field name="password" />
<label name="company" />
<field name="company" />
<label name="timezone" />
<field name="timezone" />
</xpath>
</data>
]]>
</field>
</record>
<record model="ir.ui.view" id="nereid_user_form2">
<field name="model">nereid.user</field>
<field name="type">form</field>
<field name="priority">20</field>
<field name="arch" type="xml">
<![CDATA[
<form string="Nereid User">
<label name="party"/>
<field name="party"/>
<label name="display_name"/>
<field name="display_name"/>
<label name="company"/>
<field name="company"/>
<label name="email"/>
<field name="email"/>
<label name="password"/>
<field name="password"/>
<label name="timezone" />
<field name="timezone" />
<notebook colspan="4">
<page string="Permissions" id="permissions">
<field name="permissions" colspan="4"/>
</page>
</notebook>
</form>
]]>
</field>
</record>
<record id="nereid_user_tree" model="ir.ui.view">
<field name="model">nereid.user</field>
<field name="type">tree</field>
<field name="arch" type="xml">
<![CDATA[
<tree string="Nereid User">
<field name="party" />
<field name="display_name" />
<field name="email" />
<field name="company" />
</tree>
]]>
</field>
</record>
<record model="ir.action.act_window" id="action_nereid_user_view">
<field name="name">Nereid User</field>
<field name="res_model">nereid.user</field>
</record>
<record model="ir.action.act_window.view" id="act_nereid_user_view1">
<field name="sequence" eval="10" />
<field name="view" ref="nereid_user_tree" />
<field name="act_window" ref="action_nereid_user_view" />
</record>
<record model="ir.action.act_window.view" id="act_nereid_user_view2">
<field name="sequence" eval="20" />
<field name="view" ref="nereid_user_form2" />
<field name="act_window" ref="action_nereid_user_view" />
</record>
<menuitem id="menu_nereid_user"
parent="menu_nereid"
name="Users" />
<menuitem name="Nereid Users" sequence="20"
id="menu_nereid_user1"
action="action_nereid_user_view"
parent="menu_nereid_user" />
</data>
</tryton>