Changeset 41 for addons/isp/isp_view.xml
- Timestamp:
- Sep 13, 2011, 9:55:38 AM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
addons/isp/isp_view.xml
r30 r41 4 4 5 5 <menuitem name="ISP" id="menu_isp" sequence="1" /> 6 <menuitem name="Network" parent="menu_isp" 7 id="base.menu_isp_network" sequence="1"/> 6 8 <menuitem name="Configuration" parent="menu_isp" 7 9 id="base.menu_isp_config" sequence="20"/> 8 <menuitem name="Device type" parent="base.menu_isp_config" 9 id="base.menu_isp_config_device_type" sequence="1" /> 10 <menuitem name="Interface type" parent="base.menu_isp_config" 11 id="base.menu_isp_config_interface_type" sequence="2" /> 10 <menuitem name="Network" parent="base.menu_isp_config" 11 id="base.menu_isp_config_network" sequence="1"/> 12 12 13 13 14 <record model="ir.actions.act_window" id="action_isp_device_form"> … … 17 18 18 19 <menuitem name="Device" 19 parent=" menu_isp" id="menu_isp_device" sequence="1"20 parent="base.menu_isp_network" id="menu_isp_device" sequence="1" 20 21 action="action_isp_device_form"/> 21 22 … … 29 30 <field name="name" select="1"/> 30 31 <field name="partner_id" select="1" /> 31 <field name="location_partner_id" select="1" />32 32 <field name="used" select="1" /> 33 33 <field name="online" select="1" /> … … 46 46 <field name="type_id" select="1" /> 47 47 <field name="partner_id" select="1" /> 48 <field name="location_partner_id" select="1" /> 49 <field name="pos_latitude" select="1" /> 50 <field name="pos_longitude" select="1" /> 48 <field name="position" select="1" /> 51 49 <field name="used" select="1" /> 52 50 <field name="online" select="1" /> … … 57 55 </field> 58 56 </record> 59 57 58 59 <record model="ir.actions.act_window" id="action_isp_device_type_form"> 60 <field name="res_model">network.device</field> 61 <field name="domain">[]</field> 62 </record> 63 64 <menuitem name="Device type" 65 parent="base.menu_isp_config_network" id="menu_isp_device_type" sequence="1" 66 action="action_isp_device_type_form"/> 67 68 <record model="ir.ui.view" id="view_network_device_type_tree"> 69 <field name="name">network.device.type</field> 70 <field name="model">network.device.type</field> 71 <field name="type">tree</field> 72 <field name="priority" eval="2"/> 73 <field name="arch" type="xml"> 74 <tree string="Device type"> 75 <field name="name" select="1"/> 76 <field name="running_permanent" select="1" /> 77 <field name="icon_name" select="1" /> 78 </tree> 79 </field> 80 </record> 81 <record model="ir.ui.view" id="view_network_device_type_form"> 82 <field name="name">network.device.type</field> 83 <field name="model">network.device.type</field> 84 <field name="priority" eval="2"/> 85 <field name="type">form</field> 86 <field name="arch" type="xml"> 87 <form string="Device type"> 88 <field name="name" select="1"/> 89 <field name="running_permanent" select="1" /> 90 <field name="icon_name" select="1" /> 91 </form> 92 </field> 93 </record> 94 95 60 96 <record model="ir.actions.act_window" id="action_isp_interface_form"> 61 97 <field name="res_model">network.interface</field> … … 64 100 65 101 <menuitem name="Interface" 66 parent=" menu_isp" id="menu_isp_interface" sequence="1"102 parent="base.menu_isp_network" id="menu_isp_interface" sequence="1" 67 103 action="action_isp_interface_form"/> 68 104 … … 99 135 <field name="online" select="1" /> 100 136 <field name="last_online" select="1" /> 101 </form> 102 </field> 103 </record> 104 105 137 <field name="link_id" select="1" /> 138 </form> 139 </field> 140 </record> 141 142 143 <record model="ir.actions.act_window" id="action_isp_interface_type_form"> 144 <field name="res_model">network.interface.type</field> 145 <field name="domain">[]</field> 146 </record> 147 148 <menuitem name="Interface type" 149 parent="base.menu_isp_config_network" id="menu_isp_interface_type" sequence="1" 150 action="action_isp_interface_type_form"/> 151 152 <record model="ir.ui.view" id="view_network_interface_type_tree"> 153 <field name="name">network.interface.type</field> 154 <field name="model">network.interface.type</field> 155 <field name="type">tree</field> 156 <field name="priority" eval="2"/> 157 <field name="arch" type="xml"> 158 <tree string="Interface type"> 159 <field name="name" select="1"/> 160 <field name="link_speed" select="1" /> 161 <field name="full_duplex" select="1" /> 162 <field name="color" select="1" /> 163 </tree> 164 </field> 165 </record> 166 <record model="ir.ui.view" id="view_network_interface_type_form"> 167 <field name="name">network.interface.type</field> 168 <field name="model">network.interface.type</field> 169 <field name="priority" eval="2"/> 170 <field name="type">form</field> 171 <field name="arch" type="xml"> 172 <form string="Interface type"> 173 <field name="name" select="1"/> 174 <field name="link_speed" select="1" /> 175 <field name="full_duplex" select="1" /> 176 <field name="color" select="1" /> 177 </form> 178 </field> 179 </record> 180 181 106 182 <record model="ir.actions.act_window" id="action_isp_subnet_form"> 107 183 <field name="res_model">network.subnet</field> … … 110 186 111 187 <menuitem name="Subnet" 112 parent=" menu_isp" id="menu_isp_subnet" sequence="1"188 parent="base.menu_isp_network" id="menu_isp_subnet" sequence="1" 113 189 action="action_isp_subnet_form"/> 114 190 … … 156 232 157 233 <menuitem name="Address" 158 parent=" menu_isp" id="menu_isp_address" sequence="1"234 parent="base.menu_isp_network" id="menu_isp_address" sequence="1" 159 235 action="action_isp_address_form"/> 160 236 … … 191 267 192 268 <menuitem name="Service" 193 parent=" menu_isp" id="menu_isp_service" sequence="1"269 parent="base.menu_isp_network" id="menu_isp_service" sequence="1" 194 270 action="action_isp_service_form"/> 195 271 … … 225 301 </record> 226 302 303 227 304 <record model="ir.actions.act_window" id="action_isp_service_type_form"> 228 305 <field name="res_model">network.service.type</field> … … 231 308 232 309 <menuitem name="Service type" 233 parent=" menu_isp" id="menu_isp_service_type" sequence="1"310 parent="base.menu_isp_config_network" id="menu_isp_service_type" sequence="1" 234 311 action="action_isp_service_type_form"/> 235 312 … … 257 334 </record> 258 335 336 259 337 <record model="ir.actions.act_window" id="action_isp_billing_period_form"> 260 338 <field name="res_model">network.billing.period</field> … … 263 341 264 342 <menuitem name="Billing period" 265 parent=" menu_isp" id="menu_isp_billing_period" sequence="1"343 parent="base.menu_isp_network" id="menu_isp_billing_period" sequence="1" 266 344 action="action_isp_billing_period_form"/> 267 345 … … 274 352 <tree string="Billing period"> 275 353 <field name="name" select="1" /> 354 <field name="months" select="1" /> 276 355 </tree> 277 356 </field> … … 285 364 <form string="Billing period"> 286 365 <field name="name" select="1" /> 287 </form> 288 </field> 289 </record> 366 <field name="months" select="1" /> 367 </form> 368 </field> 369 </record> 370 290 371 291 372 <record model="ir.actions.act_window" id="action_isp_domain_form"> … … 295 376 296 377 <menuitem name="Domain" 297 parent=" menu_isp" id="menu_isp_domain" sequence="1"378 parent="base.menu_isp_network" id="menu_isp_domain" sequence="1" 298 379 action="action_isp_domain_form"/> 299 380 … … 324 405 </field> 325 406 </record> 407 408 409 <record model="ir.actions.act_window" id="action_isp_point_form"> 410 <field name="res_model">network.point</field> 411 <field name="domain">[]</field> 412 </record> 413 414 <menuitem name="Point" 415 parent="base.menu_isp_network" id="menu_isp_point" sequence="1" 416 action="action_isp_point_form"/> 417 418 <record model="ir.ui.view" id="view_network_point_tree"> 419 <field name="name">network.point</field> 420 <field name="model">network.point</field> 421 <field name="type">tree</field> 422 <field name="priority" eval="2"/> 423 <field name="arch" type="xml"> 424 <tree string="Point"> 425 <field name="name" select="1" /> 426 <field name="address_id" select="1" /> 427 <field name="latitude" select="1" /> 428 <field name="longitude" select="1" /> 429 </tree> 430 </field> 431 </record> 432 <record model="ir.ui.view" id="view_network_point_form"> 433 <field name="name">network.point</field> 434 <field name="model">network.point</field> 435 <field name="priority" eval="2"/> 436 <field name="type">form</field> 437 <field name="arch" type="xml"> 438 <form string="Point"> 439 <field name="name" select="1" /> 440 <field name="address_id" select="1" /> 441 <field name="latitude" select="1" /> 442 <field name="longitude" select="1" /> 443 <field name="description" select="1" /> 444 </form> 445 </field> 446 </record> 447 448 449 <record model="ir.actions.act_window" id="action_isp_link_form"> 450 <field name="res_model">network.link</field> 451 <field name="domain">[]</field> 452 </record> 453 454 <menuitem name="Link" 455 parent="base.menu_isp_network" id="menu_isp_link" sequence="1" 456 action="action_isp_link_form"/> 457 458 <record model="ir.ui.view" id="view_network_link_tree"> 459 <field name="name">network.link</field> 460 <field name="model">network.link</field> 461 <field name="type">tree</field> 462 <field name="priority" eval="2"/> 463 <field name="arch" type="xml"> 464 <tree string="Link"> 465 <field name="name" select="1" /> 466 <field name="type_id" select="1" /> 467 </tree> 468 </field> 469 </record> 470 <record model="ir.ui.view" id="view_network_link_form"> 471 <field name="name">network.link</field> 472 <field name="model">network.link</field> 473 <field name="priority" eval="2"/> 474 <field name="type">form</field> 475 <field name="arch" type="xml"> 476 <form string="Link"> 477 <field name="name" select="1" /> 478 <field name="type_id" select="1" /> 479 <field name="interface_ids" select="1" /> 480 <field name="points_ids" select="1" /> 481 </form> 482 </field> 483 </record> 326 484 </data> 327 485 </openerp>
Note:
See TracChangeset
for help on using the changeset viewer.