mirror of
https://github.com/OCA/reporting-engine.git
synced 2025-02-16 16:30:38 +02:00
20 lines
321 B
Python
20 lines
321 B
Python
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,
|
|
}
|