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.

18 lines
571 B

  1. # Copyright (C) 2019 Open Source Integrators
  2. # <https://www.opensourceintegrators.com>
  3. # License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
  4. from odoo import fields, models
  5. class BackendVoicentTimeLine(models.Model):
  6. _name = 'backend.voicent.time.line'
  7. _description = 'Voicent Backend Time Line'
  8. _order = 'time'
  9. name = fields.Char(string='Name', required=True)
  10. time = fields.Float(string='Time', copy=False)
  11. backend_id = fields.Many2one(
  12. string='Backend',
  13. comodel_name='backend.voicent',
  14. ondelete='set null')