1 <?xml version="1.0" encoding="utf-8"?>
9 <menuitem id="next_id_2" name="User Interface" parent="base.menu_custom" groups="base.group_extended"/>
12 ======================
14 ======================
16 <record id="view_groups_form" model="ir.ui.view">
17 <field name="name">res.groups.form</field>
18 <field name="model">res.groups</field>
19 <field name="type">form</field>
20 <field name="arch" type="xml">
21 <form string="Groups">
22 <field name="name" select="1"/>
23 <notebook colspan="4">
25 <field colspan="4" name="users" nolabel="1"/>
27 <page string="Inherited">
28 <label colspan="4" string="Users added to this group are automatically added in the following groups."/>
29 <field colspan="4" name="implied_ids" nolabel="1"/>
32 <field colspan="4" name="menu_access" nolabel="1"/>
34 <page string="Access Rights">
35 <field colspan="4" name="model_access" nolabel="1">
36 <tree string="Access Rules" editable="top">
37 <field name="model_id"/>
38 <field name="perm_read"/>
39 <field name="perm_write"/>
40 <field name="perm_create"/>
41 <field name="perm_unlink"/>
44 <form string="Access Controls">
45 <field colspan="4" name="name" select="1"/>
46 <field name="model_id" select="1"/>
48 <field name="perm_read"/>
49 <field name="perm_write"/>
50 <field name="perm_create"/>
51 <field name="perm_unlink"/>
56 <field colspan="4" name="rule_groups" nolabel="1">
59 <field name="model_id"/>
60 <field name="global"/>
63 </page><page string="Notes">
64 <field colspan="4" name="comment" nolabel="1"/>
72 ======================
74 ======================
77 <record id="view_users_form_simple_modif" model="ir.ui.view">
78 <field name="name">res.users.form.modif</field>
79 <field name="model">res.users</field>
80 <field name="type">form</field>
81 <field eval="18" name="priority"/>
82 <field name="arch" type="xml">
86 <group colspan="2" col="2">
87 <separator string="Preferences" colspan="2"/>
89 <field name="context_lang"/>
90 <field name="context_tz"/>
91 <field name="menu_tips"/>
93 <group name="default_filters" colspan="2" col="2">
94 <separator string="Default Filters" colspan="2"/>
95 <field name="company_id" widget="selection"
96 groups="base.group_multi_company" on_change="on_change_company_id(company_id)"/>
98 <separator string="Email Preferences" colspan="4"/>
99 <field colspan="4" name="user_email" widget="email"/>
100 <field colspan="4" name="signature"/>
105 <record id="view_users_form" model="ir.ui.view">
106 <field name="name">res.users.form</field>
107 <field name="model">res.users</field>
108 <field name="type">form</field>
109 <field name="arch" type="xml">
110 <form string="Users">
111 <group colspan="4" col="6">
112 <field name="name" select="1"/>
113 <field name="login" select="1"/>
114 <field name="id" invisible="1"/>
115 <field name="new_password" password="True" attrs="{'required': [('id','=',False)]}"/>
116 <field name="active"/>
118 <notebook colspan="4">
120 <group colspan="4" col="6">
121 <!-- Second nested group to avoid misalignment with email prefs groups
122 in simplified view -->
123 <group colspan="6" col="6">
124 <group col="2" colspan="2">
125 <separator string="Preferences" colspan="2"/>
126 <field name="context_lang"/>
127 <field name="context_tz"/>
128 <field name="menu_tips"/>
130 <group name="default_filters" colspan="2" col="2">
131 <separator string="Default Filters" colspan="2"/>
132 <field name="company_id" required="1" context="{'user_preference': 0}" groups="base.group_multi_company"/>
134 <group colspan="2" col="2" groups="base.group_extended">
135 <separator string="Action" colspan="2"/>
136 <field name="action_id"/>
137 <field domain="[('usage','=','menu')]" name="menu_id" required="True"/>
140 <group colspan="6" col="2">
141 <separator string="Email Preferences" colspan="2"/>
142 <field name="user_email" widget="email"/>
143 <field name="signature"/>
147 <page string="Access Rights">
148 <field nolabel="1" name="groups_id"/>
150 <page string="Companies" groups="base.group_multi_company">
151 <field colspan="4" nolabel="1" name="company_ids" select="1"/>
157 <record id="view_users_tree" model="ir.ui.view">
158 <field name="name">res.users.tree</field>
159 <field name="model">res.users</field>
160 <field name="type">tree</field>
161 <field name="arch" type="xml">
162 <tree string="Users">
164 <field name="login"/>
165 <field name="context_lang"/>
171 <record id="view_users_search" model="ir.ui.view">
172 <field name="name">res.users.search</field>
173 <field name="model">res.users</field>
174 <field name="type">search</field>
175 <field name="arch" type="xml">
176 <search string="Users">
178 <field name="login"/>
179 <field name="company_ids" string="Company" groups="base.group_multi_company"/>
185 ======================
187 ======================
190 <report id="preview_report" model="res.company" name="preview.report" multi="True"
191 rml="base/report/preview_report.rml" string="Preview Report"/>
193 <record id="bank_account_update" model="ir.actions.act_window">
194 <field name="name">Company Bank Accounts</field>
195 <field name="res_model">res.partner.bank</field>
196 <field name="view_type">form</field>
197 <field name="view_mode">tree,form</field>
198 <field name="context" eval="{'default_partner_id':ref('base.main_partner'), 'company_hide':False, 'default_company_id':ref('base.main_company'), 'search_default_my_bank':1}"/>
199 <field name="help">Configure your company's bank account and select those that must appear on the report footer. You can drag & drop bank in the list view to reorder bank accounts. If you use the accounting application of OpenERP, journals and accounts will be created automatically based on these data.</field>
203 <record id="view_company_form" model="ir.ui.view">
204 <field name="name">res.company.form</field>
205 <field name="model">res.company</field>
206 <field name="type">form</field>
207 <field name="arch" type="xml">
208 <form string="Company">
209 <group colspan="4" col="6">
210 <group colspan="4" col="4">
212 <field name="partner_id" readonly="1" required="0"/>
213 <field name="parent_id" groups="base.group_multi_company"/>
215 <group colspan="2" col="2">
216 <field name="logo" nolabel="1" widget="image"/>
219 <notebook colspan="4">
220 <page string="General Information">
221 <separator string="Address Information" colspan="4"/>
222 <field name="street"/>
223 <field name="street2"/>
226 <field name="country_id"/>
227 <field name="state_id"/>
228 <field name="phone"/>
229 <field name="email"/>
231 <field name="website"/>
233 <field name="company_registry"/>
234 <separator string="Header/Footer of Reports" colspan="4"/>
235 <group colspan="4" col="3">
236 <field name="rml_header1" colspan="3"/>
238 <field name="rml_footer1" colspan="2"/>
239 <button name="generate_header" string="Generate" type="object" icon="gtk-go-forward"/>
241 <field name="rml_footer2" colspan="2"/>
242 <button name="%(bank_account_update)d" string="Set Bank Accounts" type="action" icon="gtk-go-forward"/>
244 <label string="" colspan="2"/>
245 <button name="%(preview_report)d" string="Preview Header" type="action" icon="gtk-print"/>
248 <page string="External Template" groups="base.group_extended">
249 <field colspan="4" name="rml_header" nolabel="1"/>
251 <page string="Internal Template" groups="base.group_extended">
252 <separator string="Portrait" colspan="2"/>
253 <separator string="Landscape" colspan="2"/>
254 <field colspan="2" name="rml_header2" nolabel="1"/>
255 <field colspan="2" name="rml_header3" nolabel="1"/>
257 <page string="Configuration">
258 <separator string="Accounting" colspan="4"/>
259 <field name="currency_id" colspan="2"/>
266 <record id="view_company_tree" model="ir.ui.view">
267 <field name="name">res.company.tree</field>
268 <field name="model">res.company</field>
269 <field name="type">tree</field>
270 <field name="field_parent">child_ids</field>
271 <field name="arch" type="xml">
272 <tree string="Companies">
274 <field name="partner_id"/>
279 <record id="category_administration_config" model="ir.actions.todo.category">
280 <field name="name">Administration</field>
281 <field name="sequence">1</field>