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.
 
 
 
 
 

23 lines
574 B

# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
from odoo import fields, models
class BackendVoicentTimeLine(models.Model):
_name = 'backend.voicent.time.line'
_description = 'Voicent Backend Time Line'
name = fields.Char(
string=u'Name',
required=True,
)
time = fields.Datetime(
string=u'Time',
copy=False,
default=lambda self: fields.Datetime.now(),
)
backend_id = fields.Many2one(
string=u'Backend',
comodel_name='backend.voicent',
ondelete='set null',
)