You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
321 B
19 lines
321 B
from openerp.osv import fields, osv
|
|
|
|
|
|
class py3o_server(osv.Model):
|
|
_name = 'py3o.server'
|
|
|
|
_columns = {
|
|
'url': fields.char(
|
|
u"URL",
|
|
size=256,
|
|
),
|
|
'is_active': fields.boolean(
|
|
u"Active",
|
|
)
|
|
}
|
|
|
|
_defaults = {
|
|
'is_active': True,
|
|
}
|