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

  1. # License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
  2. from odoo import fields, models
  3. class BackendVoicentCallLine(models.Model):
  4. _name = 'backend.voicent.call.line'
  5. _description = 'Voicent Backend Call Line'
  6. name = fields.Char(
  7. string=u'Name',
  8. required=True,
  9. )
  10. applies_on = fields.Selection(
  11. string=u'Applies on',
  12. selection=[],
  13. )
  14. voicent_app = fields.Char(
  15. string=u'Voicent App',
  16. )
  17. backend_id = fields.Many2one(
  18. string=u'Backend',
  19. comodel_name='backend.voicent',
  20. ondelete='set null',
  21. )