Changeset 63 for addons/isp_web/isp_web.py
- Timestamp:
- Mar 23, 2012, 7:39:17 AM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
addons/isp_web/isp_web.py
r61 r63 68 68 'name': fields.char('Name', size=255, required=True), 69 69 'phone': fields.char('Phone number', size=255, required=True), 70 'address': fields. text('Address', size=255),70 'address': fields.char('Address', size=255), 71 71 'operator': fields.char('Operator', size=255), 72 72 } … … 96 96 isp_web_tv_sourcetype() 97 97 98 class isp_web_tv_normtype(osv.osv): 99 _name = "isp.web.tv.normtype" 100 _columns = { 101 'name': fields.char('Name', size=255, required=True), 102 } 103 isp_web_tv_normtype() 104 98 105 class isp_web_tv(osv.osv): 99 106 _name = "isp.web.tv" … … 102 109 'short_name': fields.char('Short name', size=16, required=True), 103 110 'frequency': fields.integer('Frequency'), 104 'norm': fields. char('Norm', size=255),111 'norm': fields.many2one('isp.web.tv.normtype', 'Norm'), 105 112 'homepage': fields.char('Homepage', size=255), 106 113 'language_id': fields.many2one('res.lang', 'Language'),
Note:
See TracChangeset
for help on using the changeset viewer.