Changeset 62 for addons/isp/isp.py
- Timestamp:
- Mar 23, 2012, 7:38:34 AM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
addons/isp/isp.py
r43 r62 74 74 'full_duplex': fields.boolean('Full duplex'), 75 75 'color': fields.integer('Color'), 76 'wireless': fields.boolean('Wireless'), 76 77 } 77 78 network_interface_type() … … 186 187 } 187 188 network_service() 189 190 class network_frequency(osv.osv): 191 _name = "network.frequency" 192 _columns = { 193 'name': fields.char('Name', size=32, required=True, translate=True), 194 'ssid': fields.char('SSID', size=32), 195 'frequency': fields.integer('Frequency', help='Frequency in MHz'), 196 'channel_width': fields.integer('Channel width', help='Channel width in MHz'), 197 'channel_width_upper': fields.integer('Upper channel width', help='Upper side channel width in MHz'), 198 'channel_width_lower': fields.integer('Lower channel width', help='Lower side channel width in MHz'), 199 'device_id': fields.many2one('network.device', 'Device'), 200 'link_type_id': fields.many2one('network.interface.type', 'Link type'), 201 } 202 network_frequency()
Note:
See TracChangeset
for help on using the changeset viewer.