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.
25 lines
605 B
25 lines
605 B
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
|
|
|
|
from odoo import fields, models
|
|
|
|
|
|
class BackendVoicentCallLine(models.Model):
|
|
_name = 'backend.voicent.call.line'
|
|
_description = 'Voicent Backend Call Line'
|
|
|
|
name = fields.Char(
|
|
string=u'Name',
|
|
required=True,
|
|
)
|
|
applies_on = fields.Selection(
|
|
string=u'Applies on',
|
|
selection=[],
|
|
)
|
|
voicent_app = fields.Char(
|
|
string=u'Voicent App',
|
|
)
|
|
backend_id = fields.Many2one(
|
|
string=u'Backend',
|
|
comodel_name='backend.voicent',
|
|
ondelete='set null',
|
|
)
|