Changeset 60 for addons/isp_web/isp_web.py
- Timestamp:
- Mar 22, 2012, 1:03:14 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
addons/isp_web/isp_web.py
r32 r60 81 81 } 82 82 isp_web_history() 83 84 class isp_web_tv_category(osv.osv): 85 _name = "isp.web.tv.category" 86 _columns = { 87 'name': fields.char('Name', size=255, required=True), 88 } 89 isp_web_tv_category() 90 91 class isp_web_tv_sourcetype(osv.osv): 92 _name = "isp.web.tv.sourcetype" 93 _columns = { 94 'name': fields.char('Name', size=255, required=True), 95 } 96 isp_web_tv_sourcetype() 97 98 class isp_web_tv(osv.osv): 99 _name = "isp.web.tv" 100 _columns = { 101 'name': fields.char('Name', size=255, required=True), 102 'short_name': fields.char('Short name', size=16, required=True), 103 'frequency': fields.integer('Frequency'), 104 'norm': fields.char('Norm', size=255), 105 'homepage': fields.char('Homepage', size=255), 106 'language_id': fields.many2one('res_lang', 'Language'), 107 'stream': fields.char('Stream URL', size=255), 108 'stream_web': fields.char('Stream web', size=255), 109 'source_type_id': fields.many2one('isp.web.tv.sourcetype', 'Source type'), 110 'category_id': fields.many2one('isp.web.tv.category', 'Category'), 111 } 112 isp_web_tv()
Note:
See TracChangeset
for help on using the changeset viewer.