Changeset 30 for addons/isp/isp_view.xml
- Timestamp:
- Sep 9, 2011, 9:07:46 AM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
addons/isp/isp_view.xml
r16 r30 1 1 <?xml version="1.0"?> 2 2 <openerp> 3 <data> 4 5 <menuitem name="ISP" id="menu_isp" sequence="1" /> 6 7 8 9 <menuitem name="Configuration" parent="menu_isp" 10 id="base.menu_isp_config" sequence="20"/> 11 12 <menuitem name="Device type" parent="base.menu_isp_config" 13 id="base.menu_isp_config_device_type" sequence="1" /> 14 15 <menuitem name="Interface type" parent="base.menu_isp_config" 16 id="base.menu_isp_config_interface_type" sequence="2" /> 17 18 19 <record model="ir.actions.act_window" id="action_isp_device_form"> 20 <field name="res_model">network.device</field> 21 <field name="domain">[]</field> 22 </record> 23 24 <menuitem name="Device" 25 parent="menu_isp" id="menu_isp_device" sequence="1" 26 action="action_isp_device_form"/> 27 28 <record model="ir.ui.view" id="view_network_device_tree"> 29 <field name="name">network.device</field> 30 <field name="model">network.device</field> 31 <field name="type">tree</field> 32 <field name="priority" eval="2"/> 33 <field name="arch" type="xml"> 34 <tree string="Device"> 35 <field name="name" select="1"/> 36 <field name="partner_id" select="1" /> 37 <field name="location_partner_id" select="1" /> 38 <field name="used" select="1" /> 39 <field name="online" select="1" /> 40 <field name="last_online" select="1" /> 41 </tree> 42 </field> 43 </record> 44 <record model="ir.ui.view" id="view_network_device_form"> 45 <field name="name">network.device</field> 46 <field name="model">network.device</field> 47 <field name="priority" eval="2"/> 48 <field name="type">form</field> 49 <field name="arch" type="xml"> 50 <form string="Device"> 51 <field name="name" select="1"/> 52 <field name="type_id" select="1" /> 53 <field name="partner_id" select="1" /> 54 <field name="location_partner_id" select="1" /> 55 <field name="pos_latitude" select="1" /> 56 <field name="pos_longitude" select="1" /> 57 <field name="used" select="1" /> 58 <field name="online" select="1" /> 59 <field name="last_online" select="1" /> 60 <field name="inbound_nat_priority" select="1" /> 61 <field name="interface_ids" select="1" colspan="4" nolabel="1"/> 62 </form> 63 </field> 64 </record> 65 66 67 <record model="ir.actions.act_window" id="action_isp_interface_form"> 68 <field name="res_model">network.interface</field> 69 <field name="domain">[]</field> 70 </record> 71 72 <menuitem name="Interface" 73 parent="menu_isp" id="menu_isp_interface" sequence="1" 74 action="action_isp_interface_form"/> 75 76 <record model="ir.ui.view" id="view_network_interface_tree"> 77 <field name="name">network.interface</field> 78 <field name="model">network.interface</field> 79 <field name="type">tree</field> 80 <field name="priority" eval="2"/> 81 <field name="arch" type="xml"> 82 <tree string="Interface"> 83 <field name="name" select="1"/> 84 <field name="device_id" select="1" /> 85 <field name="local_address_id" select="1" /> 86 <field name="external_address_id" select="1" /> 87 <field name="mac" select="1" /> 88 <field name="online" select="1" /> 89 <field name="last_online" select="1" /> 90 </tree> 91 </field> 92 </record> 93 <record model="ir.ui.view" id="view_network_interface_form"> 94 <field name="name">network.interface</field> 95 <field name="model">network.interface</field> 96 <field name="priority" eval="2"/> 97 <field name="type">form</field> 98 <field name="arch" type="xml"> 99 <form string="Interface"> 100 <field name="name" select="1"/> 101 <field name="type_id" select="1" /> 102 <field name="local_address_id" select="1" /> 103 <field name="external_address_id" select="1" /> 104 <field name="mac" select="1" /> 105 <field name="device_id" select="1" /> 106 <field name="online" select="1" /> 107 <field name="last_online" select="1" /> 108 </form> 109 </field> 110 </record> 111 112 113 <record model="ir.actions.act_window" id="action_isp_subnet_form"> 114 <field name="res_model">network.subnet</field> 115 <field name="domain">[]</field> 116 </record> 117 118 <menuitem name="Subnet" 119 parent="menu_isp" id="menu_isp_subnet" sequence="1" 120 action="action_isp_subnet_form"/> 121 122 <record model="ir.ui.view" id="view_network_subnet_tree"> 123 <field name="name">network.subnet</field> 124 <field name="model">network.subnet</field> 125 <field name="type">tree</field> 126 <field name="priority" eval="2"/> 127 <field name="arch" type="xml"> 128 <tree string="Subnet"> 129 <field name="name" select="1"/> 130 <field name="address" select="1" /> 131 <field name="prefix" select="1" /> 132 <field name="gateway_id" select="1" /> 133 <field name="dhcp_id" select="1" /> 134 <field name="partner_id" select="1" /> 135 </tree> 136 </field> 137 </record> 138 <record model="ir.ui.view" id="view_network_subnet_form"> 139 <field name="name">network.subnet</field> 140 <field name="model">network.subnet</field> 141 <field name="priority" eval="2"/> 142 <field name="type">form</field> 143 <field name="arch" type="xml"> 144 <form string="Subnet"> 145 <field name="name" select="1"/> 146 <field name="partner_id" select="1" /> 147 <field name="address" select="1" /> 148 <field name="prefix" select="1" /> 149 <field name="gateway_id" select="1" /> 150 <field name="dhcp_id" select="1" /> 151 <field name="dns_ids" select="1" /> 152 <field name="ntp_ids" select="1" /> 153 <field name="domain_id" select="1" /> 154 <field name="wins_id" select="1" /> 155 </form> 156 </field> 157 </record> 158 159 <record model="ir.actions.act_window" id="action_isp_address_form"> 160 <field name="res_model">network.address</field> 161 <field name="domain">[]</field> 162 </record> 163 164 <menuitem name="Address" 165 parent="menu_isp" id="menu_isp_address" sequence="1" 166 action="action_isp_address_form"/> 167 168 <record model="ir.ui.view" id="view_network_address_tree"> 169 <field name="name">network.address</field> 170 <field name="model">network.address</field> 171 <field name="type">tree</field> 172 <field name="priority" eval="2"/> 173 <field name="arch" type="xml"> 174 <tree string="Address"> 175 <field name="name" select="1" /> 176 <field name="ipv6" select="1" /> 177 </tree> 178 </field> 179 </record> 180 <record model="ir.ui.view" id="view_network_address_form"> 181 <field name="name">network.address</field> 182 <field name="model">network.address</field> 183 <field name="priority" eval="2"/> 184 <field name="type">form</field> 185 <field name="arch" type="xml"> 186 <form string="Address"> 187 <field name="name" select="1" /> 188 <field name="ipv6" select="1" /> 189 </form> 190 </field> 191 </record> 192 193 194 <record model="ir.actions.act_window" id="action_isp_service_form"> 195 <field name="res_model">network.service</field> 196 <field name="domain">[]</field> 197 </record> 198 199 <menuitem name="Service" 200 parent="menu_isp" id="menu_isp_service" sequence="1" 201 action="action_isp_service_form"/> 202 203 <record model="ir.ui.view" id="view_network_service_tree"> 204 <field name="name">network.service</field> 205 <field name="model">network.service</field> 206 <field name="type">tree</field> 207 <field name="priority" eval="2"/> 208 <field name="arch" type="xml"> 209 <tree string="Service"> 210 <field name="name" select="1" /> 211 <field name="type_id" select="1" /> 212 <field name="price" select="1" /> 213 <field name="price_period_id" select="1" /> 214 <field name="available" select="1" /> 215 </tree> 216 </field> 217 </record> 218 <record model="ir.ui.view" id="view_network_service_form"> 219 <field name="name">network.service</field> 220 <field name="model">network.service</field> 221 <field name="priority" eval="2"/> 222 <field name="type">form</field> 223 <field name="arch" type="xml"> 224 <form string="Service"> 225 <field name="name" select="1" /> 226 <field name="type_id" select="1" /> 227 <field name="price" select="1" /> 228 <field name="price_period_id" select="1" /> 229 <field name="available" select="1" /> 230 </form> 231 </field> 232 </record> 233 3 <data> 4 5 <menuitem name="ISP" id="menu_isp" sequence="1" /> 6 <menuitem name="Configuration" parent="menu_isp" 7 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" /> 12 13 <record model="ir.actions.act_window" id="action_isp_device_form"> 14 <field name="res_model">network.device</field> 15 <field name="domain">[]</field> 16 </record> 17 18 <menuitem name="Device" 19 parent="menu_isp" id="menu_isp_device" sequence="1" 20 action="action_isp_device_form"/> 21 22 <record model="ir.ui.view" id="view_network_device_tree"> 23 <field name="name">network.device</field> 24 <field name="model">network.device</field> 25 <field name="type">tree</field> 26 <field name="priority" eval="2"/> 27 <field name="arch" type="xml"> 28 <tree string="Device"> 29 <field name="name" select="1"/> 30 <field name="partner_id" select="1" /> 31 <field name="location_partner_id" select="1" /> 32 <field name="used" select="1" /> 33 <field name="online" select="1" /> 34 <field name="last_online" select="1" /> 35 </tree> 36 </field> 37 </record> 38 <record model="ir.ui.view" id="view_network_device_form"> 39 <field name="name">network.device</field> 40 <field name="model">network.device</field> 41 <field name="priority" eval="2"/> 42 <field name="type">form</field> 43 <field name="arch" type="xml"> 44 <form string="Device"> 45 <field name="name" select="1"/> 46 <field name="type_id" select="1" /> 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" /> 51 <field name="used" select="1" /> 52 <field name="online" select="1" /> 53 <field name="last_online" select="1" /> 54 <field name="inbound_nat_priority" select="1" /> 55 <field name="interface_ids" select="1" colspan="4" nolabel="1"/> 56 </form> 57 </field> 58 </record> 59 60 <record model="ir.actions.act_window" id="action_isp_interface_form"> 61 <field name="res_model">network.interface</field> 62 <field name="domain">[]</field> 63 </record> 64 65 <menuitem name="Interface" 66 parent="menu_isp" id="menu_isp_interface" sequence="1" 67 action="action_isp_interface_form"/> 68 69 <record model="ir.ui.view" id="view_network_interface_tree"> 70 <field name="name">network.interface</field> 71 <field name="model">network.interface</field> 72 <field name="type">tree</field> 73 <field name="priority" eval="2"/> 74 <field name="arch" type="xml"> 75 <tree string="Interface"> 76 <field name="name" select="1"/> 77 <field name="device_id" select="1" /> 78 <field name="local_address_id" select="1" /> 79 <field name="external_address_id" select="1" /> 80 <field name="mac" select="1" /> 81 <field name="online" select="1" /> 82 <field name="last_online" select="1" /> 83 </tree> 84 </field> 85 </record> 86 <record model="ir.ui.view" id="view_network_interface_form"> 87 <field name="name">network.interface</field> 88 <field name="model">network.interface</field> 89 <field name="priority" eval="2"/> 90 <field name="type">form</field> 91 <field name="arch" type="xml"> 92 <form string="Interface"> 93 <field name="name" select="1"/> 94 <field name="type_id" select="1" /> 95 <field name="local_address_id" select="1" /> 96 <field name="external_address_id" select="1" /> 97 <field name="mac" select="1" /> 98 <field name="device_id" select="1" /> 99 <field name="online" select="1" /> 100 <field name="last_online" select="1" /> 101 </form> 102 </field> 103 </record> 104 105 106 <record model="ir.actions.act_window" id="action_isp_subnet_form"> 107 <field name="res_model">network.subnet</field> 108 <field name="domain">[]</field> 109 </record> 110 111 <menuitem name="Subnet" 112 parent="menu_isp" id="menu_isp_subnet" sequence="1" 113 action="action_isp_subnet_form"/> 114 115 <record model="ir.ui.view" id="view_network_subnet_tree"> 116 <field name="name">network.subnet</field> 117 <field name="model">network.subnet</field> 118 <field name="type">tree</field> 119 <field name="priority" eval="2"/> 120 <field name="arch" type="xml"> 121 <tree string="Subnet"> 122 <field name="name" select="1"/> 123 <field name="address" select="1" /> 124 <field name="prefix" select="1" /> 125 <field name="gateway_id" select="1" /> 126 <field name="dhcp_id" select="1" /> 127 <field name="partner_id" select="1" /> 128 </tree> 129 </field> 130 </record> 131 <record model="ir.ui.view" id="view_network_subnet_form"> 132 <field name="name">network.subnet</field> 133 <field name="model">network.subnet</field> 134 <field name="priority" eval="2"/> 135 <field name="type">form</field> 136 <field name="arch" type="xml"> 137 <form string="Subnet"> 138 <field name="name" select="1"/> 139 <field name="partner_id" select="1" /> 140 <field name="address" select="1" /> 141 <field name="prefix" select="1" /> 142 <field name="gateway_id" select="1" /> 143 <field name="dhcp_id" select="1" /> 144 <field name="dns_ids" select="1" /> 145 <field name="ntp_ids" select="1" /> 146 <field name="domain_id" select="1" /> 147 <field name="wins_id" select="1" /> 148 </form> 149 </field> 150 </record> 151 152 <record model="ir.actions.act_window" id="action_isp_address_form"> 153 <field name="res_model">network.address</field> 154 <field name="domain">[]</field> 155 </record> 156 157 <menuitem name="Address" 158 parent="menu_isp" id="menu_isp_address" sequence="1" 159 action="action_isp_address_form"/> 160 161 <record model="ir.ui.view" id="view_network_address_tree"> 162 <field name="name">network.address</field> 163 <field name="model">network.address</field> 164 <field name="type">tree</field> 165 <field name="priority" eval="2"/> 166 <field name="arch" type="xml"> 167 <tree string="Address"> 168 <field name="name" select="1" /> 169 <field name="ipv6" select="1" /> 170 </tree> 171 </field> 172 </record> 173 <record model="ir.ui.view" id="view_network_address_form"> 174 <field name="name">network.address</field> 175 <field name="model">network.address</field> 176 <field name="priority" eval="2"/> 177 <field name="type">form</field> 178 <field name="arch" type="xml"> 179 <form string="Address"> 180 <field name="name" select="1" /> 181 <field name="ipv6" select="1" /> 182 </form> 183 </field> 184 </record> 185 186 187 <record model="ir.actions.act_window" id="action_isp_service_form"> 188 <field name="res_model">network.service</field> 189 <field name="domain">[]</field> 190 </record> 191 192 <menuitem name="Service" 193 parent="menu_isp" id="menu_isp_service" sequence="1" 194 action="action_isp_service_form"/> 195 196 <record model="ir.ui.view" id="view_network_service_tree"> 197 <field name="name">network.service</field> 198 <field name="model">network.service</field> 199 <field name="type">tree</field> 200 <field name="priority" eval="2"/> 201 <field name="arch" type="xml"> 202 <tree string="Service"> 203 <field name="name" select="1" /> 204 <field name="type_id" select="1" /> 205 <field name="price" select="1" /> 206 <field name="price_period_id" select="1" /> 207 <field name="available" select="1" /> 208 </tree> 209 </field> 210 </record> 211 <record model="ir.ui.view" id="view_network_service_form"> 212 <field name="name">network.service</field> 213 <field name="model">network.service</field> 214 <field name="priority" eval="2"/> 215 <field name="type">form</field> 216 <field name="arch" type="xml"> 217 <form string="Service"> 218 <field name="name" select="1" /> 219 <field name="type_id" select="1" /> 220 <field name="price" select="1" /> 221 <field name="price_period_id" select="1" /> 222 <field name="available" select="1" /> 223 </form> 224 </field> 225 </record> 234 226 235 227 <record model="ir.actions.act_window" id="action_isp_service_type_form"> 236 <field name="res_model">network.service.type</field> 237 <field name="domain">[]</field> 238 </record> 239 240 <menuitem name="Service type" 241 parent="menu_isp" id="menu_isp_service_type" sequence="1" 242 action="action_isp_service_type_form"/> 243 244 <record model="ir.ui.view" id="view_network_service_type_tree"> 245 <field name="name">network.service.type</field> 246 <field name="model">network.service.type</field> 247 <field name="type">tree</field> 248 <field name="priority" eval="2"/> 249 <field name="arch" type="xml"> 250 <tree string="Service type"> 251 <field name="name" select="1" /> 252 </tree> 253 </field> 254 </record> 255 <record model="ir.ui.view" id="view_network_service_type_form"> 256 <field name="name">network.service.type</field> 257 <field name="model">network.service.type</field> 258 <field name="priority" eval="2"/> 259 <field name="type">form</field> 260 <field name="arch" type="xml"> 261 <form string="Service type"> 262 <field name="name" select="1" /> 263 </form> 264 </field> 265 </record> 266 228 <field name="res_model">network.service.type</field> 229 <field name="domain">[]</field> 230 </record> 231 232 <menuitem name="Service type" 233 parent="menu_isp" id="menu_isp_service_type" sequence="1" 234 action="action_isp_service_type_form"/> 235 236 <record model="ir.ui.view" id="view_network_service_type_tree"> 237 <field name="name">network.service.type</field> 238 <field name="model">network.service.type</field> 239 <field name="type">tree</field> 240 <field name="priority" eval="2"/> 241 <field name="arch" type="xml"> 242 <tree string="Service type"> 243 <field name="name" select="1" /> 244 </tree> 245 </field> 246 </record> 247 <record model="ir.ui.view" id="view_network_service_type_form"> 248 <field name="name">network.service.type</field> 249 <field name="model">network.service.type</field> 250 <field name="priority" eval="2"/> 251 <field name="type">form</field> 252 <field name="arch" type="xml"> 253 <form string="Service type"> 254 <field name="name" select="1" /> 255 </form> 256 </field> 257 </record> 267 258 268 259 <record model="ir.actions.act_window" id="action_isp_billing_period_form"> 269 <field name="res_model">network.billing.period</field> 270 <field name="domain">[]</field> 271 </record> 272 273 <menuitem name="Billing period" 274 parent="menu_isp" id="menu_isp_billing_period" sequence="1" 275 action="action_isp_billing_period_form"/> 276 277 <record model="ir.ui.view" id="view_network_billing_period_tree"> 278 <field name="name">network.billing.period</field> 279 <field name="model">network.billing.period</field> 280 <field name="type">tree</field> 281 <field name="priority" eval="2"/> 282 <field name="arch" type="xml"> 283 <tree string="Billing period"> 284 <field name="name" select="1" /> 285 </tree> 286 </field> 287 </record> 288 <record model="ir.ui.view" id="view_network_billing_period_form"> 289 <field name="name">network.billing.period</field> 290 <field name="model">network.billing.period</field> 291 <field name="priority" eval="2"/> 292 <field name="type">form</field> 293 <field name="arch" type="xml"> 294 <form string="Billing period"> 295 <field name="name" select="1" /> 296 </form> 297 </field> 298 </record> 299 260 <field name="res_model">network.billing.period</field> 261 <field name="domain">[]</field> 262 </record> 263 264 <menuitem name="Billing period" 265 parent="menu_isp" id="menu_isp_billing_period" sequence="1" 266 action="action_isp_billing_period_form"/> 267 268 <record model="ir.ui.view" id="view_network_billing_period_tree"> 269 <field name="name">network.billing.period</field> 270 <field name="model">network.billing.period</field> 271 <field name="type">tree</field> 272 <field name="priority" eval="2"/> 273 <field name="arch" type="xml"> 274 <tree string="Billing period"> 275 <field name="name" select="1" /> 276 </tree> 277 </field> 278 </record> 279 <record model="ir.ui.view" id="view_network_billing_period_form"> 280 <field name="name">network.billing.period</field> 281 <field name="model">network.billing.period</field> 282 <field name="priority" eval="2"/> 283 <field name="type">form</field> 284 <field name="arch" type="xml"> 285 <form string="Billing period"> 286 <field name="name" select="1" /> 287 </form> 288 </field> 289 </record> 300 290 301 291 <record model="ir.actions.act_window" id="action_isp_domain_form"> 302 303 304 305 306 307 308 309 310 <record model="ir.ui.view" id="view_network_domain_tree">311 <field name="name">network.domain</field>312 <field name="model">network.domain</field>313 <field name="type">tree</field>314 <field name="priority" eval="2"/>315 <field name="arch" type="xml">316 <tree string="Domain">317 <field name="name" select="1" />318 <field name="parent" select="1" />319 <field name="alias" select="1" />320 </tree>321 </field>322 </record>323 <record model="ir.ui.view" id="view_network_domain_form">324 <field name="name">network.domain</field>325 <field name="model">network.domain</field>326 <field name="priority" eval="2"/>327 <field name="type">form</field>328 <field name="arch" type="xml">329 <form string="Domain">330 <field name="name" select="1" />331 <field name="parent" select="1" />332 <field name="alias" select="1" />333 </form>334 </field>335 </record>336 292 <field name="res_model">network.domain</field> 293 <field name="domain">[]</field> 294 </record> 295 296 <menuitem name="Domain" 297 parent="menu_isp" id="menu_isp_domain" sequence="1" 298 action="action_isp_domain_form"/> 299 300 <record model="ir.ui.view" id="view_network_domain_tree"> 301 <field name="name">network.domain</field> 302 <field name="model">network.domain</field> 303 <field name="type">tree</field> 304 <field name="priority" eval="2"/> 305 <field name="arch" type="xml"> 306 <tree string="Domain"> 307 <field name="name" select="1" /> 308 <field name="parent" select="1" /> 309 <field name="alias" select="1" /> 310 </tree> 311 </field> 312 </record> 313 <record model="ir.ui.view" id="view_network_domain_form"> 314 <field name="name">network.domain</field> 315 <field name="model">network.domain</field> 316 <field name="priority" eval="2"/> 317 <field name="type">form</field> 318 <field name="arch" type="xml"> 319 <form string="Domain"> 320 <field name="name" select="1" /> 321 <field name="parent" select="1" /> 322 <field name="alias" select="1" /> 323 </form> 324 </field> 325 </record> 326 </data> 337 327 </openerp> 338 339
Note:
See TracChangeset
for help on using the changeset viewer.