~ubuntu-branches/ubuntu/natty/tryton-server/natty-security

« back to all changes in this revision

Viewing changes to trytond/res/user.xml

  • Committer: Bazaar Package Importer
  • Author(s): Daniel Baumann, Daniel Baumann, Mathias Behrle
  • Date: 2009-04-21 19:27:00 UTC
  • mfrom: (1.1.2 upstream)
  • Revision ID: james.westby@ubuntu.com-20090421192700-hmiosex03jt5qf01
Tags: 1.2.0-1
[ Daniel Baumann ]
* Merging upstream version 1.2.0.
* Tidy rules files.
* Updating version information in manpage.
* Updating copyright file for new upstream release.
* Including TODO file in docs.

[ Mathias Behrle ]
* Updating application description.

[ Daniel Baumann ]
* Correcting wrapping of control file.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
<?xml version="1.0"?>
2
 
<!-- This file is part of Tryton.  The COPYRIGHT file at the top level of this repository contains the full copyright notices and license terms. -->
 
2
<!-- This file is part of Tryton.  The COPYRIGHT file at the top level of
 
3
this repository contains the full copyright notices and license terms. -->
3
4
<tryton>
4
5
    <data>
5
6
        <record model="res.user" id="user_admin">
16
17
            <field name="arch" type="xml">
17
18
              <![CDATA[
18
19
                <form string="User">
 
20
                    <label name="name"/>
 
21
                    <field name="name"/>
 
22
                    <label name="active"/>
 
23
                    <field name="active"/>
19
24
                    <notebook colspan="4">
20
 
                        <page string="User">
21
 
                            <label name="name"/>
22
 
                            <field name="name"/>
23
 
                            <label name="active"/>
24
 
                            <field name="active"/>
 
25
                        <page string="User" id="user">
25
26
                            <label name="login"/>
26
27
                            <field name="login"/>
27
28
                            <label name="password"/>
28
29
                            <field name="password"/>
29
30
                            <label name="email"/>
30
31
                            <field name="email" widget="email"/>
31
 
                            <!--field name="address_id"/-->
32
32
                            <newline/>
33
33
                            <label name="action"/>
34
34
                            <field name="action" required="1"/>
37
37
                            <separator name="signature" colspan="4"/>
38
38
                            <field name="signature" colspan="4"/>
39
39
                        </page>
40
 
                        <page string="Security" col="1">
 
40
                        <page string="Security" col="1" id="security">
41
41
                            <separator name="groups"/>
42
42
                            <field name="groups"/>
43
43
                            <separator name="rule_groups"/>
44
44
                            <field name="rule_groups"/>
45
45
                        </page>
46
 
                        <page string="Preferences" col="2">
 
46
                        <page string="Preferences" col="2" id="preferences">
47
47
                            <label name="language"/>
48
48
                            <field name="language" widget="selection"/>
49
49
                            <label name="timezone"/>
54
54
              ]]>
55
55
            </field>
56
56
        </record>
 
57
        <record model="ir.ui.view" id="user_view_form_preferences">
 
58
            <field name="model">res.user</field>
 
59
            <field name="type">form</field>
 
60
            <field name="priority" eval="20"/>
 
61
            <field name="arch" type="xml">
 
62
                <![CDATA[
 
63
                <form string="User">
 
64
                    <label name="name"/>
 
65
                    <field name="name"/>
 
66
                    <notebook colspan="4">
 
67
                        <page string="User" id="user">
 
68
                            <label name="email"/>
 
69
                            <field name="email" widget="email"/>
 
70
                            <label name="password"/>
 
71
                            <field name="password"/>
 
72
                            <label name="action"/>
 
73
                            <field name="action" required="1"/>
 
74
                            <label name="menu"/>
 
75
                            <field name="menu"/>
 
76
                            <separator name="signature" colspan="4"/>
 
77
                            <field name="signature" colspan="4"/>
 
78
                        </page>
 
79
                        <page string="Security" col="1" id="security">
 
80
                            <separator name="groups"/>
 
81
                            <field name="groups"/>
 
82
                        </page>
 
83
                        <page string="Preferences" col="2" id="preferences">
 
84
                            <label name="language"/>
 
85
                            <field name="language" widget="selection"/>
 
86
                            <label name="timezone"/>
 
87
                            <field name="timezone"/>
 
88
                        </page>
 
89
                    </notebook>
 
90
                </form>
 
91
                ]]>
 
92
            </field>
 
93
        </record>
57
94
        <record model="ir.ui.view" id="user_view_tree">
58
95
            <field name="model">res.user</field>
59
96
            <field name="type">tree</field>
109
146
                <![CDATA[
110
147
                <form string="Add Users" col="2">
111
148
                    <image name="tryton-dialog-information"/>
112
 
                    <group col="1">
 
149
                    <group col="1" id="labels">
113
150
                        <label string="You can now add some users into the system."
114
 
                            align="0.0"/>
 
151
                            align="0.0" id="add"/>
115
152
                        <label string="Be careful that the login must be unique!"
116
 
                            align="0.0"/>
 
153
                            align="0.0" id="carefull"/>
117
154
                    </group>
118
155
                </form>
119
156
                ]]>
123
160
            id="config_wizard_item_user">
124
161
            <field name="name">res.user.config</field>
125
162
        </record>
 
163
 
 
164
        <record model="ir.ui.view" id="user_warning_view_form">
 
165
            <field name="model">res.user.warning</field>
 
166
            <field name="type">form</field>
 
167
            <field name="arch" type="xml">
 
168
                <![CDATA[
 
169
                <form string="Warning">
 
170
                    <label name="user"/>
 
171
                    <field name="user"/>
 
172
                    <newline/>
 
173
                    <label name="name"/>
 
174
                    <field name="name"/>
 
175
                    <label name="always"/>
 
176
                    <field name="always"/>
 
177
                </form>
 
178
                ]]>
 
179
            </field>
 
180
        </record>
 
181
 
 
182
        <record model="ir.ui.view" id="user_warning_view_tree">
 
183
            <field name="model">res.user.warning</field>
 
184
            <field name="type">tree</field>
 
185
            <field name="arch" type="xml">
 
186
                <![CDATA[
 
187
                <tree string="Warnings">
 
188
                    <field name="user" select="1"/>
 
189
                    <field name="name" select="1"/>
 
190
                    <field name="always" select="1"/>
 
191
                </tree>
 
192
                ]]>
 
193
            </field>
 
194
        </record>
 
195
 
 
196
        <record model="ir.rule.group" id="rule_group_user_warning">
 
197
            <field name="model" search="[('model', '=', 'res.user.warning')]"/>
 
198
            <field name="global_p" eval="True"/>
 
199
        </record>
 
200
        <record model="ir.rule" id="rule_user_warning1">
 
201
            <field name="field" search="[('name', '=', 'user'), ('model.model', '=', 'res.user.warning')]"/>
 
202
            <field name="operator">=</field>
 
203
            <field name="operand">User</field>
 
204
            <field name="rule_group" ref="rule_group_user_warning"/>
 
205
        </record>
 
206
 
126
207
    </data>
127
208
</tryton>