source: addons/isp/view/isp_view.xml

Last change on this file was 62, checked in by chronos, 13 years ago
  • Přidáno: Evidence využitých frekvencí v modulu ISP.
File size: 19.4 KB
Line 
1<?xml version="1.0"?>
2<openerp>
3 <data>
4
5 <menuitem name="ISP" id="menu_isp" sequence="1"
6 web_icon="images/isp.png" web_icon_hover="images/isp-hover.png"/>
7 <menuitem name="Network" parent="menu_isp"
8 id="base.menu_isp_network" sequence="1"/>
9 <menuitem name="Configuration" parent="menu_isp"
10 id="base.menu_isp_config" sequence="20"/>
11 <menuitem name="Network" parent="base.menu_isp_config"
12 id="base.menu_isp_config_network" sequence="1"/>
13
14
15 <record model="ir.actions.act_window" id="action_isp_device_form">
16 <field name="res_model">network.device</field>
17 <field name="domain">[]</field>
18 </record>
19
20 <menuitem name="Device"
21 parent="base.menu_isp_network" id="menu_isp_device" sequence="1"
22 action="action_isp_device_form"/>
23
24 <record model="ir.ui.view" id="view_network_device_tree">
25 <field name="name">network.device</field>
26 <field name="model">network.device</field>
27 <field name="type">tree</field>
28 <field name="priority" eval="2"/>
29 <field name="arch" type="xml">
30 <tree string="Device">
31 <field name="name" select="1"/>
32 <field name="partner_id" select="1" />
33 <field name="used" select="1" />
34 <field name="online" select="1" />
35 <field name="last_online" select="1" />
36 </tree>
37 </field>
38 </record>
39 <record model="ir.ui.view" id="view_network_device_form">
40 <field name="name">network.device</field>
41 <field name="model">network.device</field>
42 <field name="priority" eval="2"/>
43 <field name="type">form</field>
44 <field name="arch" type="xml">
45 <form string="Device">
46 <field name="name" select="1"/>
47 <field name="type_id" select="1" />
48 <field name="partner_id" select="1" />
49 <field name="position" select="1" />
50 <field name="used" select="1" />
51 <field name="online" select="1" />
52 <field name="last_online" select="1" />
53 <field name="inbound_nat_priority" select="1" />
54 <field name="interface_ids" select="1" colspan="4" nolabel="1"/>
55 </form>
56 </field>
57 </record>
58
59
60 <record model="ir.actions.act_window" id="action_isp_device_type_form">
61 <field name="res_model">network.device.type</field>
62 <field name="domain">[]</field>
63 </record>
64
65 <menuitem name="Device type"
66 parent="base.menu_isp_config_network" id="menu_isp_device_type" sequence="1"
67 action="action_isp_device_type_form"/>
68
69 <record model="ir.ui.view" id="view_network_device_type_tree">
70 <field name="name">network.device.type</field>
71 <field name="model">network.device.type</field>
72 <field name="type">tree</field>
73 <field name="priority" eval="2"/>
74 <field name="arch" type="xml">
75 <tree string="Device type">
76 <field name="name" select="1"/>
77 <field name="running_permanent" select="1" />
78 <field name="icon_name" select="1" />
79 </tree>
80 </field>
81 </record>
82 <record model="ir.ui.view" id="view_network_device_type_form">
83 <field name="name">network.device.type</field>
84 <field name="model">network.device.type</field>
85 <field name="priority" eval="2"/>
86 <field name="type">form</field>
87 <field name="arch" type="xml">
88 <form string="Device type">
89 <field name="name" select="1"/>
90 <field name="running_permanent" select="1" />
91 <field name="icon_name" select="1" />
92 </form>
93 </field>
94 </record>
95
96
97 <record model="ir.actions.act_window" id="action_isp_interface_form">
98 <field name="res_model">network.interface</field>
99 <field name="domain">[]</field>
100 </record>
101
102 <menuitem name="Interface"
103 parent="base.menu_isp_network" id="menu_isp_interface" sequence="1"
104 action="action_isp_interface_form"/>
105
106 <record model="ir.ui.view" id="view_network_interface_tree">
107 <field name="name">network.interface</field>
108 <field name="model">network.interface</field>
109 <field name="type">tree</field>
110 <field name="priority" eval="2"/>
111 <field name="arch" type="xml">
112 <tree string="Interface">
113 <field name="name" select="1"/>
114 <field name="device_id" select="1" />
115 <field name="local_address_id" select="1" />
116 <field name="external_address_id" select="1" />
117 <field name="mac" select="1" />
118 <field name="online" select="1" />
119 <field name="last_online" select="1" />
120 </tree>
121 </field>
122 </record>
123 <record model="ir.ui.view" id="view_network_interface_form">
124 <field name="name">network.interface</field>
125 <field name="model">network.interface</field>
126 <field name="priority" eval="2"/>
127 <field name="type">form</field>
128 <field name="arch" type="xml">
129 <form string="Interface">
130 <field name="name" select="1"/>
131 <field name="type_id" select="1" />
132 <field name="local_address_id" select="1" />
133 <field name="external_address_id" select="1" />
134 <field name="mac" select="1" />
135 <field name="device_id" select="1" />
136 <field name="online" select="1" />
137 <field name="last_online" select="1" />
138 <field name="link_id" select="1" />
139 </form>
140 </field>
141 </record>
142
143
144 <record model="ir.actions.act_window" id="action_isp_interface_type_form">
145 <field name="res_model">network.interface.type</field>
146 <field name="domain">[]</field>
147 </record>
148
149 <menuitem name="Interface type"
150 parent="base.menu_isp_config_network" id="menu_isp_interface_type" sequence="1"
151 action="action_isp_interface_type_form"/>
152
153 <record model="ir.ui.view" id="view_network_interface_type_tree">
154 <field name="name">network.interface.type</field>
155 <field name="model">network.interface.type</field>
156 <field name="type">tree</field>
157 <field name="priority" eval="2"/>
158 <field name="arch" type="xml">
159 <tree string="Interface type">
160 <field name="name" select="1"/>
161 <field name="link_speed" select="1" />
162 <field name="full_duplex" select="1" />
163 <field name="color" select="1" />
164 <field name="wireless" select="1" />
165 </tree>
166 </field>
167 </record>
168 <record model="ir.ui.view" id="view_network_interface_type_form">
169 <field name="name">network.interface.type</field>
170 <field name="model">network.interface.type</field>
171 <field name="priority" eval="2"/>
172 <field name="type">form</field>
173 <field name="arch" type="xml">
174 <form string="Interface type">
175 <field name="name" select="1"/>
176 <field name="link_speed" select="1" />
177 <field name="full_duplex" select="1" />
178 <field name="color" select="1" />
179 <field name="wireless" select="1" />
180 </form>
181 </field>
182 </record>
183
184
185 <record model="ir.actions.act_window" id="action_isp_subnet_form">
186 <field name="res_model">network.subnet</field>
187 <field name="domain">[]</field>
188 </record>
189
190 <menuitem name="Subnet"
191 parent="base.menu_isp_network" id="menu_isp_subnet" sequence="1"
192 action="action_isp_subnet_form"/>
193
194 <record model="ir.ui.view" id="view_network_subnet_tree">
195 <field name="name">network.subnet</field>
196 <field name="model">network.subnet</field>
197 <field name="type">tree</field>
198 <field name="priority" eval="2"/>
199 <field name="arch" type="xml">
200 <tree string="Subnet">
201 <field name="name" select="1"/>
202 <field name="address" select="1" />
203 <field name="prefix" select="1" />
204 <field name="gateway_id" select="1" />
205 <field name="dhcp_id" select="1" />
206 <field name="partner_id" select="1" />
207 </tree>
208 </field>
209 </record>
210 <record model="ir.ui.view" id="view_network_subnet_form">
211 <field name="name">network.subnet</field>
212 <field name="model">network.subnet</field>
213 <field name="priority" eval="2"/>
214 <field name="type">form</field>
215 <field name="arch" type="xml">
216 <form string="Subnet">
217 <field name="name" select="1"/>
218 <field name="partner_id" select="1" />
219 <field name="address" select="1" />
220 <field name="prefix" select="1" />
221 <field name="gateway_id" select="1" />
222 <field name="dhcp_id" select="1" />
223 <field name="dns_ids" select="1" />
224 <field name="ntp_ids" select="1" />
225 <field name="domain_id" select="1" />
226 <field name="wins_id" select="1" />
227 </form>
228 </field>
229 </record>
230
231 <record model="ir.actions.act_window" id="action_isp_address_form">
232 <field name="res_model">network.address</field>
233 <field name="domain">[]</field>
234 </record>
235
236 <menuitem name="Address"
237 parent="base.menu_isp_network" id="menu_isp_address" sequence="1"
238 action="action_isp_address_form"/>
239
240 <record model="ir.ui.view" id="view_network_address_tree">
241 <field name="name">network.address</field>
242 <field name="model">network.address</field>
243 <field name="type">tree</field>
244 <field name="priority" eval="2"/>
245 <field name="arch" type="xml">
246 <tree string="Address">
247 <field name="name" select="1" />
248 <field name="ipv4" select="1" />
249 <field name="ipv6" select="1" />
250 </tree>
251 </field>
252 </record>
253 <record model="ir.ui.view" id="view_network_address_form">
254 <field name="name">network.address</field>
255 <field name="model">network.address</field>
256 <field name="priority" eval="2"/>
257 <field name="type">form</field>
258 <field name="arch" type="xml">
259 <form string="Address">
260 <field name="name" select="1" />
261 <field name="ipv4" select="1" />
262 <field name="ipv6" select="1" />
263 </form>
264 </field>
265 </record>
266
267
268 <record model="ir.actions.act_window" id="action_isp_service_form">
269 <field name="res_model">network.service</field>
270 <field name="domain">[]</field>
271 </record>
272
273 <menuitem name="Service"
274 parent="base.menu_isp_network" id="menu_isp_service" sequence="1"
275 action="action_isp_service_form"/>
276
277 <record model="ir.ui.view" id="view_network_service_tree">
278 <field name="name">network.service</field>
279 <field name="model">network.service</field>
280 <field name="type">tree</field>
281 <field name="priority" eval="2"/>
282 <field name="arch" type="xml">
283 <tree string="Service">
284 <field name="name" select="1" />
285 <field name="type_id" select="1" />
286 <field name="price" select="1" />
287 <field name="price_period_id" select="1" />
288 <field name="available" select="1" />
289 </tree>
290 </field>
291 </record>
292 <record model="ir.ui.view" id="view_network_service_form">
293 <field name="name">network.service</field>
294 <field name="model">network.service</field>
295 <field name="priority" eval="2"/>
296 <field name="type">form</field>
297 <field name="arch" type="xml">
298 <form string="Service">
299 <field name="name" select="1" />
300 <field name="type_id" select="1" />
301 <field name="price" select="1" />
302 <field name="price_period_id" select="1" />
303 <field name="available" select="1" />
304 <field name="partner_ids" select="1" />
305 </form>
306 </field>
307 </record>
308
309
310 <record model="ir.actions.act_window" id="action_isp_service_type_form">
311 <field name="res_model">network.service.type</field>
312 <field name="domain">[]</field>
313 </record>
314
315 <menuitem name="Service type"
316 parent="base.menu_isp_config_network" id="menu_isp_service_type" sequence="1"
317 action="action_isp_service_type_form"/>
318
319 <record model="ir.ui.view" id="view_network_service_type_tree">
320 <field name="name">network.service.type</field>
321 <field name="model">network.service.type</field>
322 <field name="type">tree</field>
323 <field name="priority" eval="2"/>
324 <field name="arch" type="xml">
325 <tree string="Service type">
326 <field name="name" select="1" />
327 </tree>
328 </field>
329 </record>
330 <record model="ir.ui.view" id="view_network_service_type_form">
331 <field name="name">network.service.type</field>
332 <field name="model">network.service.type</field>
333 <field name="priority" eval="2"/>
334 <field name="type">form</field>
335 <field name="arch" type="xml">
336 <form string="Service type">
337 <field name="name" select="1" />
338 </form>
339 </field>
340 </record>
341
342
343 <record model="ir.actions.act_window" id="action_isp_billing_period_form">
344 <field name="res_model">network.billing.period</field>
345 <field name="domain">[]</field>
346 </record>
347
348 <menuitem name="Billing period"
349 parent="base.menu_isp_network" id="menu_isp_billing_period" sequence="1"
350 action="action_isp_billing_period_form"/>
351
352 <record model="ir.ui.view" id="view_network_billing_period_tree">
353 <field name="name">network.billing.period</field>
354 <field name="model">network.billing.period</field>
355 <field name="type">tree</field>
356 <field name="priority" eval="2"/>
357 <field name="arch" type="xml">
358 <tree string="Billing period">
359 <field name="name" select="1" />
360 <field name="months" select="1" />
361 </tree>
362 </field>
363 </record>
364 <record model="ir.ui.view" id="view_network_billing_period_form">
365 <field name="name">network.billing.period</field>
366 <field name="model">network.billing.period</field>
367 <field name="priority" eval="2"/>
368 <field name="type">form</field>
369 <field name="arch" type="xml">
370 <form string="Billing period">
371 <field name="name" select="1" />
372 <field name="months" select="1" />
373 </form>
374 </field>
375 </record>
376
377
378 <record model="ir.actions.act_window" id="action_isp_domain_form">
379 <field name="res_model">network.domain</field>
380 <field name="domain">[]</field>
381 </record>
382
383 <menuitem name="Domain"
384 parent="base.menu_isp_network" id="menu_isp_domain" sequence="1"
385 action="action_isp_domain_form"/>
386
387 <record model="ir.ui.view" id="view_network_domain_tree">
388 <field name="name">network.domain</field>
389 <field name="model">network.domain</field>
390 <field name="type">tree</field>
391 <field name="priority" eval="2"/>
392 <field name="arch" type="xml">
393 <tree string="Domain">
394 <field name="name" select="1" />
395 <field name="parent_id" select="1" />
396 <field name="alias" select="1" />
397 </tree>
398 </field>
399 </record>
400 <record model="ir.ui.view" id="view_network_domain_form">
401 <field name="name">network.domain</field>
402 <field name="model">network.domain</field>
403 <field name="priority" eval="2"/>
404 <field name="type">form</field>
405 <field name="arch" type="xml">
406 <form string="Domain">
407 <field name="name" select="1" />
408 <field name="parent_id" select="1" />
409 <field name="alias" select="1" />
410 </form>
411 </field>
412 </record>
413
414
415 <record model="ir.actions.act_window" id="action_isp_point_form">
416 <field name="res_model">network.point</field>
417 <field name="domain">[]</field>
418 </record>
419
420 <menuitem name="Point"
421 parent="base.menu_isp_network" id="menu_isp_point" sequence="1"
422 action="action_isp_point_form"/>
423
424 <record model="ir.ui.view" id="view_network_point_tree">
425 <field name="name">network.point</field>
426 <field name="model">network.point</field>
427 <field name="type">tree</field>
428 <field name="priority" eval="2"/>
429 <field name="arch" type="xml">
430 <tree string="Point">
431 <field name="name" select="1" />
432 <field name="address_id" select="1" />
433 <field name="latitude" select="1" />
434 <field name="longitude" select="1" />
435 </tree>
436 </field>
437 </record>
438 <record model="ir.ui.view" id="view_network_point_form">
439 <field name="name">network.point</field>
440 <field name="model">network.point</field>
441 <field name="priority" eval="2"/>
442 <field name="type">form</field>
443 <field name="arch" type="xml">
444 <form string="Point">
445 <field name="name" select="1" />
446 <field name="address_id" select="1" />
447 <field name="latitude" select="1" />
448 <field name="longitude" select="1" />
449 <field name="description" select="1" />
450 </form>
451 </field>
452 </record>
453
454
455 <record model="ir.actions.act_window" id="action_isp_link_form">
456 <field name="res_model">network.link</field>
457 <field name="domain">[]</field>
458 </record>
459
460 <menuitem name="Link"
461 parent="base.menu_isp_network" id="menu_isp_link" sequence="1"
462 action="action_isp_link_form"/>
463
464 <record model="ir.ui.view" id="view_network_link_tree">
465 <field name="name">network.link</field>
466 <field name="model">network.link</field>
467 <field name="type">tree</field>
468 <field name="priority" eval="2"/>
469 <field name="arch" type="xml">
470 <tree string="Link">
471 <field name="name" select="1" />
472 <field name="type_id" select="1" />
473 </tree>
474 </field>
475 </record>
476 <record model="ir.ui.view" id="view_network_link_form">
477 <field name="name">network.link</field>
478 <field name="model">network.link</field>
479 <field name="priority" eval="2"/>
480 <field name="type">form</field>
481 <field name="arch" type="xml">
482 <form string="Link">
483 <field name="name" select="1" />
484 <field name="type_id" select="1" />
485 <field name="interface_ids" select="1" />
486 <field name="points_ids" select="1" />
487 </form>
488 </field>
489 </record>
490
491 <record model="ir.actions.act_window" id="action_isp_frequency_form">
492 <field name="res_model">network.frequency</field>
493 <field name="domain">[]</field>
494 </record>
495
496 <menuitem name="Frequency usage"
497 parent="base.menu_isp_network" id="menu_isp_frequency" sequence="1"
498 action="action_isp_frequency_form"/>
499
500 <record model="ir.ui.view" id="view_network_frequency_tree">
501 <field name="name">network.frequency</field>
502 <field name="model">network.frequency</field>
503 <field name="type">tree</field>
504 <field name="priority" eval="2"/>
505 <field name="arch" type="xml">
506 <tree string="Frequency usage">
507 <field name="name" select="1" />
508 <field name="ssid" select="1" />
509 <field name="frequency" select="1" />
510 <field name="channel_width" select="1" />
511 <field name="device_id" select="1" />
512 <field name="link_type_id" select="1" />
513 </tree>
514 </field>
515 </record>
516 <record model="ir.ui.view" id="view_network_frequency_form">
517 <field name="name">network.frequency</field>
518 <field name="model">network.frequency</field>
519 <field name="priority" eval="2"/>
520 <field name="type">form</field>
521 <field name="arch" type="xml">
522 <form string="Frequency usage">
523 <field name="name" select="1" />
524 <field name="ssid" select="1" />
525 <field name="frequency" select="1" />
526 <field name="channel_width" select="1" />
527 <field name="channel_width_upper" select="1" />
528 <field name="channel_width_lower" select="1" />
529 <field name="device_id" select="1" />
530 <field name="link_type_id" select="1" />
531 </form>
532 </field>
533 </record>
534 </data>
535</openerp>
Note: See TracBrowser for help on using the repository browser.