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.
15 lines
532 B
15 lines
532 B
# -*- coding: utf-8 -*-
|
|
# Copyright 2013 XCG Consulting (http://odoo.consulting)
|
|
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
|
|
from odoo import fields, models
|
|
|
|
|
|
class Py3oServer(models.Model):
|
|
_name = 'py3o.server'
|
|
_rec_name = 'url'
|
|
|
|
url = fields.Char(
|
|
"Py3o Fusion Server URL", required=True,
|
|
help="If your Py3o Fusion server is on the same machine and runs "
|
|
"on the default port, the URL is http://localhost:8765/form")
|
|
is_active = fields.Boolean("Active", default=True)
|